emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r115915: Fix misdisplay of interlaced GIFs with libg


From: Paul Eggert
Subject: [Emacs-diffs] trunk r115915: Fix misdisplay of interlaced GIFs with libgif5.
Date: Tue, 07 Jan 2014 21:14:36 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115915
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/16372
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Tue 2014-01-07 13:14:32 -0800
message:
  Fix misdisplay of interlaced GIFs with libgif5.
  
  * image.c (gif_load): libgif5 deinterlaces for us, so don't do
  it again.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/image.c                    image.c-20091113204419-o5vbwnq5f7feedwu-2969
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2014-01-06 16:28:26 +0000
+++ b/src/ChangeLog     2014-01-07 21:14:32 +0000
@@ -1,3 +1,9 @@
+2014-01-07  Paul Eggert  <address@hidden>
+
+       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  <address@hidden>
 
        * xdisp.c (redisplay_window): Don't skip window redisplay if the

=== modified file 'src/image.c'
--- a/src/image.c       2014-01-01 07:43:34 +0000
+++ b/src/image.c       2014-01-07 21:14:32 +0000
@@ -7586,7 +7586,7 @@
          }
 
       /* Apply the pixel values.  */
-      if (gif->SavedImages[j].ImageDesc.Interlace)
+      if (GIFLIB_MAJOR < 5 && gif->SavedImages[j].ImageDesc.Interlace)
        {
          int row, pass;
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]