20 lines
598 B
Diff
20 lines
598 B
Diff
|
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.
|
||
|
|
||
|
Index: emacs-24.3/src/image.c
|
||
|
===================================================================
|
||
|
--- emacs-24.3.orig/src/image.c
|
||
|
+++ emacs-24.3/src/image.c
|
||
|
@@ -7378,7 +7378,7 @@ gif_load (struct frame *f, struct image
|
||
|
}
|
||
|
|
||
|
/* Apply the pixel values. */
|
||
|
- if (gif->SavedImages[j].ImageDesc.Interlace)
|
||
|
+ if (GIFLIB_MAJOR < 5 && gif->SavedImages[j].ImageDesc.Interlace)
|
||
|
{
|
||
|
int row, pass;
|
||
|
|