mirror of https://git.ffmpeg.org/ffmpeg.git
pngdec: Fix interlaced PAETH prediction
Fixes Ticket161 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
2d4102fc13
commit
bc6445f2db
|
@ -317,6 +317,7 @@ static void png_handle_row(PNGDecContext *s)
|
|||
}
|
||||
s->y++;
|
||||
if (s->y == s->height) {
|
||||
memset(s->last_row, 0, s->row_size);
|
||||
for(;;) {
|
||||
if (s->pass == NB_PASSES - 1) {
|
||||
s->state |= PNG_ALLIMAGE;
|
||||
|
|
Loading…
Reference in New Issue