]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sat, 3 Dec 2016 15:22:30 +0000 (10:22 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sat, 3 Dec 2016 15:23:41 +0000 (10:23 -0500)
MagickCore/identify.c

index 2ce9c01502d3edf1525bc05243408f7bedfe2fba..e6cbeb6c6b757410878888bc40446b325cebb01b 100644 (file)
@@ -183,7 +183,7 @@ static ChannelStatistics *GetLocationStatistics(const Image *image,
       register ssize_t
         i;
 
-      if (GetPixelWriteMask(image,p) == 0)
+      if (GetPixelReadMask(image,p) == 0)
         {
           p+=GetPixelChannels(image);
           continue;