Commit 20602c60 authored by kostya's avatar kostya

Zero number of current scan after decoding one picture.

This fixes grayscale JPEG-LS decoding.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6306 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 32ad92e6
......@@ -2039,6 +2039,7 @@ static int mjpeg_decode_frame(AVCodecContext *avctx,
return -1;
break;
case EOI:
s->cur_scan = 0;
if ((s->buggy_avid && !s->interlaced) || s->restart_interval)
break;
eoi_parser:
......
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