From 7af7217b556594de178d226caa7e299a34260206 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sun, 18 Feb 2018 12:31:34 -0500 Subject: [PATCH] https://github.com/ImageMagick/ImageMagick/issues/982 --- coders/jp2.c | 2 -- 1 file changed, 2 deletions(-) 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))) -- 2.40.0