mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-11-16 07:32:34 +03:00
pngdec: Fix interlaced PAETH prediction
Fixes Ticket161 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
1 parent
2d4102fc13
commit
bc6445f2db
1 file changed
+1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user