lavc/libdavs2: Remove yuv420p10le from fromat list.
authorJun Zhao <jun.zhao@intel.com>
Sun, 28 Oct 2018 07:10:47 +0000 (15:10 +0800)
committerJun Zhao <jun.zhao@intel.com>
Sun, 28 Oct 2018 07:10:47 +0000 (15:10 +0800)
now libdavs2 can't support 10bits mode, so remove the
yuv420p10le from fromat list.

Signed-off-by: Jun Zhao <jun.zhao@intel.com>
libavcodec/libdavs2.c

index aa14782..cadf995 100644 (file)
@@ -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",
 };