1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

jpegdec: clear EOBRUN on restarts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-07-09 23:46:29 +02:00
parent 1c032e94d0
commit 233177a4ec

View File

@ -1180,7 +1180,8 @@ static int mjpeg_decode_scan_progressive_ac(MJpegDecodeContext *s, int ss,
s->dsp.idct_put(ptr, linesize, *block); s->dsp.idct_put(ptr, linesize, *block);
ptr += 8 >> s->avctx->lowres; ptr += 8 >> s->avctx->lowres;
} }
handle_rstn(s, 0); if (handle_rstn(s, 0))
EOBRUN = 0;
} }
} }
return 0; return 0;