1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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.
This commit is contained in:
Carl Eugen Hoyos 2011-02-12 15:29:10 +01:00
parent d6705a27d8
commit 27a275e4bb

View File

@ -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)"),
};