Fix LibRaw 0.20 compatibility
This commit is contained in:
parent
d68e09525c
commit
7330f07dd7
2
fiv-io.c
2
fiv-io.c
|
@ -42,6 +42,8 @@
|
||||||
#include <libraw.h>
|
#include <libraw.h>
|
||||||
#if LIBRAW_VERSION >= LIBRAW_MAKE_VERSION(0, 21, 0)
|
#if LIBRAW_VERSION >= LIBRAW_MAKE_VERSION(0, 21, 0)
|
||||||
#define LIBRAW_OPIONS_NO_MEMERR_CALLBACK 0
|
#define LIBRAW_OPIONS_NO_MEMERR_CALLBACK 0
|
||||||
|
#else
|
||||||
|
#define rawparams params
|
||||||
#endif
|
#endif
|
||||||
#endif // HAVE_LIBRAW
|
#endif // HAVE_LIBRAW
|
||||||
#ifdef HAVE_RESVG
|
#ifdef HAVE_RESVG
|
||||||
|
|
|
@ -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.:
|
// 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_Outdoor_.IIQ
|
||||||
// - Phase One/H 25/H25_IT8.7-2_Card.TIF
|
// - Phase One/H 25/H25_IT8.7-2_Card.TIF
|
||||||
*flip = iprc->sizes.flip
|
*flip = iprc->sizes.flip;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue