From: Cristy Date: Tue, 21 Aug 2018 00:08:32 +0000 (-0400) Subject: Revert X-Git-Tag: 7.0.8-11~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=90b05d5a44f04be72aa02314a281059d28a1ff60;p=imagemagick Revert --- diff --git a/MagickCore/constitute.c b/MagickCore/constitute.c index dfe3e5133..0f61af411 100644 --- a/MagickCore/constitute.c +++ b/MagickCore/constitute.c @@ -619,8 +619,7 @@ MagickExport Image *ReadImage(const ImageInfo *image_info, "notify the developers",image->magick,exception->severity); if (IsBlobTemporary(image) != MagickFalse) (void) RelinquishUniqueFileResource(read_info->filename); - if (((GetNextImageInList(image) != (Image *) NULL) || - (strchr(read_info->scenes,',') != (char *) NULL)) && + if ((GetNextImageInList(image) != (Image *) NULL) && (IsSceneGeometry(read_info->scenes,MagickFalse) != MagickFalse)) { Image