From 791aa82c8064ee8965a63ccf4384f56b95057e5b Mon Sep 17 00:00:00 2001 From: dirk Date: Thu, 12 May 2016 21:55:29 +0200 Subject: [PATCH] Raise warning instead of error because we return the image(s) read so far. --- coders/dds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/dds.c b/coders/dds.c index bde66a352..40848c773 100644 --- a/coders/dds.c +++ b/coders/dds.c @@ -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); } -- 2.40.0