From 6885fa74999652ec4cc2aa4832f638bec5294359 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Sun, 28 Oct 2018 15:10:47 +0800 Subject: [PATCH] lavc/libdavs2: Remove yuv420p10le from fromat list. now libdavs2 can't support 10bits mode, so remove the yuv420p10le from fromat list. Signed-off-by: Jun Zhao --- libavcodec/libdavs2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index aa1478290a..cadf995444 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -165,7 +165,7 @@ AVCodec ff_libdavs2_decoder = { .close = davs2_end, .decode = davs2_decode_frame, .capabilities = AV_CODEC_CAP_DELAY,//AV_CODEC_CAP_DR1 | - .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUV420P10, + .pix_fmts = (const enum AVPixelFormat[]) { AV_PIX_FMT_YUV420P, AV_PIX_FMT_NONE }, .wrapper_name = "libdavs2", };