Values >4 for lowres corrupt output.
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Sun, 16 Jan 2011 12:45:59 +0000 (12:45 +0000)
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>
Sun, 16 Jan 2011 12:45:59 +0000 (12:45 +0000)
Originally committed as revision 26386 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mjpegdec.c

index e57f74f..19bd2f7 100644 (file)
@@ -1547,7 +1547,7 @@ AVCodec mjpeg_decoder = {
     ff_mjpeg_decode_frame,
     CODEC_CAP_DR1,
     NULL,
-    .max_lowres = 8,
+    .max_lowres = 4,
     .long_name = NULL_IF_CONFIG_SMALL("MJPEG (Motion JPEG)"),
 };