From: Cristy Date: Sun, 11 Mar 2018 01:17:44 +0000 (-0500) Subject: ... X-Git-Tag: 7.0.7-26~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce8e1657c1146c84c785bafc4ddce60edd974e67;p=imagemagick ... --- diff --git a/coders/dpx.c b/coders/dpx.c index 0944ff7df..4a925f849 100644 --- a/coders/dpx.c +++ b/coders/dpx.c @@ -1135,7 +1135,9 @@ static Image *ReadDPXImage(const ImageInfo *image_info,ExceptionInfo *exception) status=SetImageExtent(image,image->columns,image->rows,exception); if (status == MagickFalse) return(DestroyImageList(image)); - (void) SetImageBackgroundColor(image,exception); + status=ResetImagePixels(image,exception); + if (status == MagickFalse) + return(DestroyImageList(image)); for (n=0; n < (ssize_t) dpx.image.number_elements; n++) { /*