Commit 2e3c56a2 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos Committed by Janne Grunau

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: 's avatarJanne Grunau <janne-ffmpeg@jannau.net>
parent 1f004fc5
......@@ -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)"),
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment