lavc/mjpegdec: set FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM capability
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>
Mon, 2 Nov 2015 09:32:51 +0000 (10:32 +0100)
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>
Sun, 15 Nov 2015 09:13:24 +0000 (10:13 +0100)
libavcodec/mjpegdec.c

index ebde12c..46c416a 100644 (file)
@@ -2459,7 +2459,8 @@ AVCodec ff_mjpeg_decoder = {
     .capabilities   = AV_CODEC_CAP_DR1,
     .max_lowres     = 3,
     .priv_class     = &mjpegdec_class,
-    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE |
+                      FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM,
 };
 #endif
 #if CONFIG_THP_DECODER