diff options
Diffstat (limited to 'src/image.c')
| -rw-r--r-- | src/image.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/image.c b/src/image.c index 3eec8b6c13d..21f486176df 100644 --- a/src/image.c +++ b/src/image.c | |||
| @@ -7373,11 +7373,10 @@ gif_load (struct frame *f, struct image *img) | |||
| 7373 | y < subimg_height; | 7373 | y < subimg_height; |
| 7374 | y++, row += interlace_increment[pass]) | 7374 | y++, row += interlace_increment[pass]) |
| 7375 | { | 7375 | { |
| 7376 | if (row >= subimg_height) | 7376 | while (subimg_height <= row) |
| 7377 | { | 7377 | { |
| 7378 | lint_assume (pass < 3); | ||
| 7378 | row = interlace_start[++pass]; | 7379 | row = interlace_start[++pass]; |
| 7379 | while (row >= subimg_height) | ||
| 7380 | row = interlace_start[++pass]; | ||
| 7381 | } | 7380 | } |
| 7382 | 7381 | ||
| 7383 | for (x = 0; x < subimg_width; x++) | 7382 | for (x = 0; x < subimg_width; x++) |