aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fiv-io.c2
-rw-r--r--fiv-thumbnail.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/fiv-io.c b/fiv-io.c
index a405c93..2ea06cf 100644
--- a/fiv-io.c
+++ b/fiv-io.c
@@ -42,6 +42,8 @@
#include <libraw.h>
#if LIBRAW_VERSION >= LIBRAW_MAKE_VERSION(0, 21, 0)
#define LIBRAW_OPIONS_NO_MEMERR_CALLBACK 0
+#else
+#define rawparams params
#endif
#endif // HAVE_LIBRAW
#ifdef HAVE_RESVG
diff --git a/fiv-thumbnail.c b/fiv-thumbnail.c
index 80f378e..fffbac7 100644
--- a/fiv-thumbnail.c
+++ b/fiv-thumbnail.c
@@ -392,7 +392,7 @@ extract_libraw_unpack(libraw_data_t *iprc, int *flip, GError **error)
// The main image's "flip" often matches up, but sometimes doesn't, e.g.:
// - Phase One/H 25/H25_Outdoor_.IIQ
// - Phase One/H 25/H25_IT8.7-2_Card.TIF
- *flip = iprc->sizes.flip
+ *flip = iprc->sizes.flip;
return TRUE;
}