From 025f947e4e0f1b3c11eb702c62f9ea3fe24f3960 Mon Sep 17 00:00:00 2001 From: dirk Date: Sat, 25 Oct 2014 20:06:53 +0000 Subject: [PATCH] Fixed initialization of jp2_status. --- coders/jp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { /* -- 2.40.0