From: dirk Date: Sat, 25 Oct 2014 20:06:53 +0000 (+0000) Subject: Fixed initialization of jp2_status. X-Git-Tag: 7.0.1-0~1846 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=025f947e4e0f1b3c11eb702c62f9ea3fe24f3960;p=imagemagick Fixed initialization of jp2_status. --- diff --git a/coders/jp2.c b/coders/jp2.c index 7fbaac475..1d94bc246 100644 --- a/coders/jp2.c +++ b/coders/jp2.c @@ -348,7 +348,7 @@ static Image *ReadJP2Image(const ImageInfo *image_info,ExceptionInfo *exception) opj_destroy_codec(jp2_codec); ThrowReaderException(DelegateError,"UnableToDecodeImageFile"); } - jp2_status=0; + jp2_status=1; if ((image->columns != 0) && (image->rows != 0)) { /*