Commit bc6445f2 authored by Michael Niedermayer's avatar Michael Niedermayer

pngdec: Fix interlaced PAETH prediction

Fixes Ticket161
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2d4102fc
......@@ -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;
......
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