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/image.c | |
| 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/image.c')
| -rw-r--r-- | src/image.c | 2 |
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 | ||