aboutsummaryrefslogtreecommitdiff
path: root/lib/src/jpegr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/jpegr.cpp')
-rw-r--r--lib/src/jpegr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/src/jpegr.cpp b/lib/src/jpegr.cpp
index e9252c5..848eb96 100644
--- a/lib/src/jpegr.cpp
+++ b/lib/src/jpegr.cpp
@@ -612,7 +612,7 @@ status_t JpegR::getJPEGRInfo(jr_compressed_ptr jpegr_image_ptr, jr_info_ptr jpeg
jpegr_compressed_struct primary_image, gainmap_image;
status_t status = extractPrimaryImageAndGainMap(jpegr_image_ptr, &primary_image, &gainmap_image);
- if (status != JPEGR_NO_ERROR && status != ERROR_JPEGR_GAIN_MAP_IMAGE_NOT_FOUND) {
+ if (status != JPEGR_NO_ERROR) {
return status;
}
status = parseJpegInfo(&primary_image, jpegr_image_info_ptr->primaryImgInfo,