Commit be316ede authored by Paul Eggert's avatar Paul Eggert

Fix misdisplay of interlaced GIFs with libgif5.

* image.c (gif_load): libgif5 deinterlaces for us, so don't do
it again.

Fixes: debbugs:16372
parent d831c9b8
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;
......
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