Fix #744,891:Support Canon cr3 files
authorColin Clark <colin.clark@cclark.uk>
Wed, 12 May 2021 14:03:56 +0000 (15:03 +0100)
committerColin Clark <colin.clark@cclark.uk>
Wed, 12 May 2021 14:03:56 +0000 (15:03 +0100)
https://github.com/BestImageViewer/geeqie/issues/744
https://github.com/BestImageViewer/geeqie/issues/891

Enable BMFF support in exiv2 init.
This permits exif data to be shown.

src/exiv2.cc

index 7f2cf3c..f1f7290 100644 (file)
@@ -450,6 +450,10 @@ void exif_init(void)
 #ifdef EXV_ENABLE_NLS
        bind_textdomain_codeset (EXV_PACKAGE, "UTF-8");
 #endif
+
+#if EXIV2_TEST_VERSION(0,27,4)
+       Exiv2::enableBMFF(TRUE);
+#endif
 }