aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/image.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 454413c85c0..36c379c56dc 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2
3 * image.c (imagemagick_compute_animated_image): Don't crash if we
4 have an animation with different-sized images (bug#15313).
5
12013-11-30 Martin Rudalics <rudalics@gmx.at> 62013-11-30 Martin Rudalics <rudalics@gmx.at>
2 7
3 Remove some unused items introduced during pixelwise change. 8 Remove some unused items introduced during pixelwise change.
diff --git a/src/image.c b/src/image.c
index 167ee2da303..91038dd480a 100644
--- a/src/image.c
+++ b/src/image.c
@@ -8093,7 +8093,7 @@ imagemagick_compute_animated_image (MagickWand *super_wand, int ino)
8093 { 8093 {
8094 /* Sanity check. This shouldn't happen, but apparently 8094 /* Sanity check. This shouldn't happen, but apparently
8095 also does in some pictures. */ 8095 also does in some pictures. */
8096 if (x + source_left > dest_width) 8096 if (x + source_left > dest_width - 1)
8097 break; 8097 break;
8098 /* Normally we only copy over non-transparent pixels, 8098 /* Normally we only copy over non-transparent pixels,
8099 but if the disposal method is "Background", then we 8099 but if the disposal method is "Background", then we