Commit 8355572f authored by Kostya Shishkov's avatar Kostya Shishkov

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
parent 5073cca4
...@@ -1374,6 +1374,7 @@ int ff_mjpeg_decode_frame(AVCodecContext *avctx, ...@@ -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: ...@@ -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:
......
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