diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-02-12 15:29:10 +0100 |
---|---|---|
committer | Janne Grunau <janne-ffmpeg@jannau.net> | 2011-02-16 23:05:46 +0100 |
commit | 2e3c56a29f241c207123e0195a6e1ce549559947 (patch) | |
tree | 6fa6faa3f7034280555dcbc24f9c893c0cade6c4 | |
parent | 1f004fc512babe8215e2aa31fa4770aa27812cab (diff) | |
download | ffmpeg-2e3c56a29f241c207123e0195a6e1ce549559947.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.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
-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 69a1837472..d0fc524471 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)"), }; |