diff options
| author | Paul Eggert | 2014-01-07 13:14:32 -0800 |
|---|---|---|
| committer | Paul Eggert | 2014-01-07 13:14:32 -0800 |
| commit | be316ede5fffb724852ee225489e70778d240bb0 (patch) | |
| tree | 5ccc73f55d08c7a88cf868ad4a3c370ce677f0c4 /src | |
| parent | d831c9b86499f132a33666d58841c79a338d92dc (diff) | |
| download | emacs-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')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/image.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a9575a14223..8df6e31521d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2014-01-07 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Fix misdisplay of interlaced GIFs with libgif5 (Bug#16372). | ||
| 4 | * image.c (gif_load): libgif5 deinterlaces for us, so don't do | ||
| 5 | it again. | ||
| 6 | |||
| 1 | 2014-01-06 Eli Zaretskii <eliz@gnu.org> | 7 | 2014-01-06 Eli Zaretskii <eliz@gnu.org> |
| 2 | 8 | ||
| 3 | * xdisp.c (redisplay_window): Don't skip window redisplay if the | 9 | * xdisp.c (redisplay_window): Don't skip window redisplay if the |
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 | ||