diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-02-12 15:29:10 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-02-12 15:38:26 +0100 |
commit | 27a275e4bbfb2e8a345ba151ab8f80d9f5963b9c (patch) | |
tree | 744bf97ab461dac91badd44b82af4086de7c9917 | |
parent | d6705a27d8e681449ab2dbc68c6e7dd344160166 (diff) | |
download | ffmpeg-27a275e4bbfb2e8a345ba151ab8f80d9f5963b9c.tar.gz |
Set maximum lowres value for the MJPEG decoder to 3.
While 4 works for some samples, 3 is the correct value since 8x8
DCT is used by (m)jpeg.
-rw-r--r-- | libavcodec/mjpegdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index fbc637aa30..dbfd59905b 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -1547,7 +1547,7 @@ AVCodec ff_mjpeg_decoder = { ff_mjpeg_decode_frame, CODEC_CAP_DR1, NULL, - .max_lowres = 4, + .max_lowres = 3, .long_name = NULL_IF_CONFIG_SMALL("MJPEG (Motion JPEG)"), }; |