Commit 233177a4 authored by Michael Niedermayer's avatar Michael Niedermayer

jpegdec: clear EOBRUN on restarts

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1c032e94
......@@ -1180,7 +1180,8 @@ static int mjpeg_decode_scan_progressive_ac(MJpegDecodeContext *s, int ss,
s->dsp.idct_put(ptr, linesize, *block);
ptr += 8 >> s->avctx->lowres;
}
handle_rstn(s, 0);
if (handle_rstn(s, 0))
EOBRUN = 0;
}
}
return 0;
......
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