aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
authorPaul Eggert2014-01-07 13:14:32 -0800
committerPaul Eggert2014-01-07 13:14:32 -0800
commitbe316ede5fffb724852ee225489e70778d240bb0 (patch)
tree5ccc73f55d08c7a88cf868ad4a3c370ce677f0c4 /src/image.c
parentd831c9b86499f132a33666d58841c79a338d92dc (diff)
downloademacs-be316ede5fffb724852ee225489e70778d240bb0.tar.gz
emacs-be316ede5fffb724852ee225489e70778d240bb0.zip
Fix misdisplay of interlaced GIFs with libgif5.
* image.c (gif_load): libgif5 deinterlaces for us, so don't do it again. Fixes: debbugs:16372
Diffstat (limited to 'src/image.c')
-rw-r--r--src/image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image.c b/src/image.c
index 7d6445527a9..cbc869127d0 100644
--- a/src/image.c
+++ b/src/image.c
@@ -7586,7 +7586,7 @@ gif_load (struct frame *f, struct image *img)
7586 } 7586 }
7587 7587
7588 /* Apply the pixel values. */ 7588 /* Apply the pixel values. */
7589 if (gif->SavedImages[j].ImageDesc.Interlace) 7589 if (GIFLIB_MAJOR < 5 && gif->SavedImages[j].ImageDesc.Interlace)
7590 { 7590 {
7591 int row, pass; 7591 int row, pass;
7592 7592