Browse Source

Zero number of current scan after decoding one picture.

This fixes grayscale JPEG-LS decoding.

Originally committed as revision 6306 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Kostya Shishkov 19 years ago
parent
commit
75807fe26e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/mjpeg.c

+ 1
- 0
libavcodec/mjpeg.c View File

@@ -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:


Loading…
Cancel
Save