]> granicus.if.org Git - imagemagick/commitdiff
Raise warning instead of error because we return the image(s) read so far.
authordirk <dirk@git.imagemagick.org>
Thu, 12 May 2016 19:55:29 +0000 (21:55 +0200)
committerdirk <dirk@git.imagemagick.org>
Thu, 12 May 2016 19:55:29 +0000 (21:55 +0200)
coders/dds.c

index bde66a35274e097c36115c137342492849d77d27..40848c773a40c34c48736978a1e15b5c2f424c32 100644 (file)
@@ -2356,7 +2356,7 @@ static MagickBooleanType SkipDXTMipmaps(Image *image,DDSInfo *dds_info,
   */
   if (EOFBlob(image) != MagickFalse)
     {
-      ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile",
+      ThrowFileException(exception,CorruptImageWarning,"UnexpectedEndOfFile",
         image->filename);
       return(MagickFalse);
     }