aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>2015-11-02 10:32:51 +0100
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>2015-11-15 10:13:24 +0100
commitad0203d7b026d97d7c2127383f944ce0674fc227 (patch)
tree071bda4566aff37e1e8f900d738175db20b4441b /libavcodec
parente162542e156ac02c96c80c3dd47bdcd13ad20dbf (diff)
downloadffmpeg-ad0203d7b026d97d7c2127383f944ce0674fc227.tar.gz
lavc/mjpegdec: set FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM capability
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mjpegdec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c
index ebde12cf98..46c416a4c6 100644
--- a/libavcodec/mjpegdec.c
+++ b/libavcodec/mjpegdec.c
@@ -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