commit | acd2ed254c18c254a0ab5aafa06d1645e5d079d8 | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Tue Aug 30 01:44:23 2011 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Tue Aug 30 01:44:23 2011 +0000 |
tree | d7f55d75d32505a549b3c808eb4c8e4b223fa716 | |
parent | 4054bfbdca478fe065f01d7f8285f7c173ccfcfc [diff] [blame] |
diff --git a/coders/jp2.c b/coders/jp2.c index a17cd8b..df08503 100644 --- a/coders/jp2.c +++ b/coders/jp2.c
@@ -522,7 +522,7 @@ for (y=0; y < (ssize_t) image->rows; y++) { q=GetAuthenticPixels(image,0,y,image->columns,1,exception); - if (q == (const Quantum *) NULL) + if (q == (Quantum *) NULL) break; for (i=0; i < (ssize_t) number_components; i++) (void) jas_image_readcmpt(jp2_image,(short) components[i],0,