Skip to content

Commit

Permalink
Raise warning instead of error because we return the image(s) read so…
Browse files Browse the repository at this point in the history
… far.
  • Loading branch information
dirk committed May 12, 2016
1 parent 668f87d commit 791aa82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coders/dds.c
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2356,7 +2356,7 @@ static MagickBooleanType SkipDXTMipmaps(Image *image,DDSInfo *dds_info,
*/ */
if (EOFBlob(image) != MagickFalse) if (EOFBlob(image) != MagickFalse)
{ {
ThrowFileException(exception,CorruptImageError,"UnexpectedEndOfFile", ThrowFileException(exception,CorruptImageWarning,"UnexpectedEndOfFile",
image->filename); image->filename);
return(MagickFalse); return(MagickFalse);
} }
Expand Down

0 comments on commit 791aa82

Please sign in to comment.