Fix misdisplay of interlaced GIFs with libgif5.
* image.c (gif_load): libgif5 deinterlaces for us, so don't do it again. Fixes: debbugs:16372
This commit is contained in:
parent
d831c9b864
commit
be316ede5f
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2014-01-07 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Fix misdisplay of interlaced GIFs with libgif5 (Bug#16372).
|
||||
* image.c (gif_load): libgif5 deinterlaces for us, so don't do
|
||||
it again.
|
||||
|
||||
2014-01-06 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* xdisp.c (redisplay_window): Don't skip window redisplay if the
|
||||
|
|
|
@ -7586,7 +7586,7 @@ gif_load (struct frame *f, struct image *img)
|
|||
}
|
||||
|
||||
/* Apply the pixel values. */
|
||||
if (gif->SavedImages[j].ImageDesc.Interlace)
|
||||
if (GIFLIB_MAJOR < 5 && gif->SavedImages[j].ImageDesc.Interlace)
|
||||
{
|
||||
int row, pass;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue