Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-02-12 17:29:10 +0300
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-02-12 17:38:26 +0300
commit27a275e4bbfb2e8a345ba151ab8f80d9f5963b9c (patch)
tree744bf97ab461dac91badd44b82af4086de7c9917 /libavcodec
parentd6705a27d8e681449ab2dbc68c6e7dd344160166 (diff)
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.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/mjpegdec.c2
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)"),
};