Skip to content
Permalink
Browse files

#501

  • Loading branch information...
Cristy
Cristy committed May 28, 2017
1 parent 3c33928 commit b0c5222ce31e8f941fa02ff9c7a040fb2db30dbc
Showing with 1 addition and 1 deletion.
  1. +1 −1 coders/jp2.c
@@ -393,7 +393,7 @@ static Image *ReadJP2Image(const ImageInfo *image_info,ExceptionInfo *exception)
(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) ||
(jp2_image->comps[i].data == NULL))
((image->ping == MagickFalse) && (jp2_image->comps[i].data == NULL)))
{
opj_destroy_codec(jp2_codec);
opj_image_destroy(jp2_image);

0 comments on commit b0c5222

Please sign in to comment.
You can’t perform that action at this time.