]> granicus.if.org Git - imagemagick/commitdiff
Fix problem with "property" intialization in the new swap-bytes code
authorglennrp <glennrp@git.imagemagick.org>
Wed, 22 Jan 2014 04:21:08 +0000 (04:21 +0000)
committerglennrp <glennrp@git.imagemagick.org>
Wed, 22 Jan 2014 04:21:08 +0000 (04:21 +0000)
coders/png.c

index def1d61a6fd52ae3e59e829a6fba8b843d2821da..ad9c4bc92e94155d6f6e03fd2a3827321efd1970 100644 (file)
@@ -2469,6 +2469,7 @@ static Image *ReadOnePNGImage(MngInfo *mng_info,
 
      property=(const char *) NULL;
      ResetImagePropertyIterator(image);
+     property=GetNextImageProperty(image);
      while (property != (const char *) NULL)
        {
          (void) GetImageProperty(image,property,exception);