From 7ea30e37876cae1c7c9c3f19f78386ac412ce558 Mon Sep 17 00:00:00 2001 From: dirk Date: Sat, 18 Jul 2015 22:13:39 +0000 Subject: [PATCH] Removed incorrect EOF check. --- coders/dds.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/coders/dds.c b/coders/dds.c index b9f463854..07a55cf62 100644 --- a/coders/dds.c +++ b/coders/dds.c @@ -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)); } -- 2.40.0