From: Cristy Date: Sun, 18 Feb 2018 17:31:34 +0000 (-0500) Subject: https://github.com/ImageMagick/ImageMagick/issues/982 X-Git-Tag: 7.0.7-23~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7af7217b556594de178d226caa7e299a34260206;p=imagemagick https://github.com/ImageMagick/ImageMagick/issues/982 --- diff --git a/coders/jp2.c b/coders/jp2.c index 1673656de..5b558b18b 100644 --- a/coders/jp2.c +++ b/coders/jp2.c @@ -387,8 +387,6 @@ static Image *ReadJP2Image(const ImageInfo *image_info,ExceptionInfo *exception) for (i=0; i < (ssize_t) jp2_image->numcomps; i++) { if ((jp2_image->comps[0].dx == 0) || (jp2_image->comps[0].dy == 0) || - (jp2_image->comps[0].dx != jp2_image->comps[i].dx) || - (jp2_image->comps[0].dy != jp2_image->comps[i].dy) || (jp2_image->comps[0].prec != jp2_image->comps[i].prec) || (jp2_image->comps[0].sgnd != jp2_image->comps[i].sgnd) || ((image->ping == MagickFalse) && (jp2_image->comps[i].data == NULL)))