]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <mikayla-grace@urban-warrior.org>
Tue, 21 May 2019 01:12:09 +0000 (21:12 -0400)
committerCristy <mikayla-grace@urban-warrior.org>
Tue, 21 May 2019 01:12:09 +0000 (21:12 -0400)
coders/tiff.c

index 391b2de1408ef501d745553543529071b20ef905..094a95a0e63205846416b3fb95cfaef4f760f9e1 100644 (file)
@@ -1388,7 +1388,7 @@ RestoreMSCWarning
         TIFFClose(tiff);
         ThrowReaderException(CorruptImageError,"ImproperImageHeader");
       }
-    if (((sample_format != SAMPLEFORMAT_IEEEFP) || (bits_per_sample == 64)) &&
+    if (((sample_format != SAMPLEFORMAT_IEEEFP) || (bits_per_sample != 64)) &&
         ((bits_per_sample <= 0) || (bits_per_sample > 32)))
       {
         TIFFClose(tiff);