aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fiv-io.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fiv-io.c b/fiv-io.c
index a405c93..498b155 100644
--- a/fiv-io.c
+++ b/fiv-io.c
@@ -1898,8 +1898,9 @@ load_tiff_ep(
return NULL;
}
- FivIoImage *image = open_libjpeg_turbo(
- (const char *) out.jpeg, out.jpeg_length, ctx, error);
+ // Ignore ctx->enhance explicitly, for when we don't have LibRaw at all.
+ FivIoImage *image = load_libjpeg_turbo((const char *) out.jpeg,
+ out.jpeg_length, ctx, load_libjpeg_simple, error);
if (!image)
return NULL;