Permalink
Browse files

Raise warning instead of error because we return the image(s) read so…

… far.
  • Loading branch information...
dlemstra committed May 12, 2016
1 parent 668f87d commit 791aa82c8064ee8965a63ccf4384f56b95057e5b
Showing with 1 addition and 1 deletion.
  1. +1 −1 coders/dds.c
View
@@ -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);
}

0 comments on commit 791aa82

Please sign in to comment.