1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

lavc MJPEG decoder is capable of decoding some extended sequential

Huffman-compressed JPEG files, so make it decode those files
(samples are welcome).
This fixes issue 1420

Originally committed as revision 20113 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Kostya Shishkov 2009-10-01 05:52:38 +00:00
parent 5073cca404
commit 8355572f91

View File

@ -1374,6 +1374,7 @@ int ff_mjpeg_decode_frame(AVCodecContext *avctx,
} }
break; break;
case SOF0: case SOF0:
case SOF1:
s->lossless=0; s->lossless=0;
s->ls=0; s->ls=0;
s->progressive=0; s->progressive=0;
@ -1451,7 +1452,6 @@ eoi_parser:
case DRI: case DRI:
mjpeg_decode_dri(s); mjpeg_decode_dri(s);
break; break;
case SOF1:
case SOF5: case SOF5:
case SOF6: case SOF6:
case SOF7: case SOF7: