Browse Source

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.
tags/n0.8
Carl Eugen Hoyos 14 years ago
parent
commit
27a275e4bb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mjpegdec.c

+ 1
- 1
libavcodec/mjpegdec.c View File

@@ -1547,7 +1547,7 @@ AVCodec ff_mjpeg_decoder = {
ff_mjpeg_decode_frame, ff_mjpeg_decode_frame,
CODEC_CAP_DR1, CODEC_CAP_DR1,
NULL, NULL,
.max_lowres = 4,
.max_lowres = 3,
.long_name = NULL_IF_CONFIG_SMALL("MJPEG (Motion JPEG)"), .long_name = NULL_IF_CONFIG_SMALL("MJPEG (Motion JPEG)"),
}; };




Loading…
Cancel
Save