Skip to content
Permalink
Browse files

...

  • Loading branch information...
Cristy
Cristy committed May 21, 2017
1 parent acee073 commit ac23b02ecb741e5de60f5235ea443790c88a0b80
Showing with 2 additions and 1 deletion.
  1. +2 −1 coders/jp2.c
@@ -392,7 +392,8 @@ static Image *ReadJP2Image(const ImageInfo *image_info,ExceptionInfo *exception)
(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))
(jp2_image->comps[0].sgnd != jp2_image->comps[i].sgnd) ||
(jp2_image->comps[i].data == NULL))
{
opj_destroy_codec(jp2_codec);
opj_image_destroy(jp2_image);

0 comments on commit ac23b02

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