Commit e458f4ae authored by kostya's avatar kostya

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



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20113 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0e26204e
......@@ -1374,6 +1374,7 @@ int ff_mjpeg_decode_frame(AVCodecContext *avctx,
}
break;
case SOF0:
case SOF1:
s->lossless=0;
s->ls=0;
s->progressive=0;
......@@ -1451,7 +1452,6 @@ eoi_parser:
case DRI:
mjpeg_decode_dri(s);
break;
case SOF1:
case SOF5:
case SOF6:
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