mjpegdec: properly report unsupported disabled features
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 14 May 2013 13:27:26 +0000 (15:27 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Thu, 16 May 2013 12:05:46 +0000 (14:05 +0200)
commitb25e49b187617c486ae3f50a5cbb356fc0e868bb
tree2d7a25e446df89db47cd312da6f347e40f6a401f
parent3062ac4c47b18305aa55788133b4c8aaded12f11
mjpegdec: properly report unsupported disabled features

When JPEG-LS support is disabled the decoder would feed the
data to the JPEG Lossless decode_*_scan function resulting in
faulty decoding.

CC: libav-stable@libav.org
libavcodec/mjpegdec.c