]> granicus.if.org Git - imagemagick/commitdiff
Removed incorrect EOF check.
authordirk <dirk@git.imagemagick.org>
Sat, 18 Jul 2015 22:13:39 +0000 (22:13 +0000)
committerdirk <dirk@git.imagemagick.org>
Sat, 18 Jul 2015 22:13:39 +0000 (22:13 +0000)
coders/dds.c

index b9f4638548fc84ea9dc547c2298d802f9e51bce1..07a55cf6212002e014e980ca6f0b66f09b61ada5 100644 (file)
@@ -1808,11 +1808,6 @@ static Image *ReadDDSImage(const ImageInfo *image_info,ExceptionInfo *exception)
         return(GetFirstImageInList(image));
       }
   }
-  
-  if (EOFBlob(image) != MagickFalse)
-    ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile",
-      image->filename);
-  
   (void) CloseBlob(image);
   return(GetFirstImageInList(image));
 }