]> granicus.if.org Git - imagemagick/commitdiff
Change 17 to 16 in processing "change_clipping" of the MNG FRAM chunk
authorGlenn Randers-Pehrson <glennrp@gmail.com>
Mon, 10 Jul 2017 13:04:18 +0000 (09:04 -0400)
committerGlenn Randers-Pehrson <glennrp@gmail.com>
Mon, 10 Jul 2017 13:04:18 +0000 (09:04 -0400)
coders/png.c

index 37becf5c515e006dff02e8ad2bd71d5c72e2afb0..04730f47dcb81a4008970ffe0f21d95e6a15080e 100644 (file)
@@ -5801,7 +5801,7 @@ static Image *ReadOneMNGImage(MngInfo* mng_info, const ImageInfo *image_info,
                     if (change_clipping && ((p-chunk) < (ssize_t) (length-16)))
                       {
                         fb=mng_read_box(previous_fb,(char) p[0],&p[1]);
-                        p+=17;
+                        p+=16;
                         previous_fb=fb;
 
                         if (logging != MagickFalse)