diff --git a/src/heif.imageio/heifinput.cpp b/src/heif.imageio/heifinput.cpp index e100a22b65..f2c0f57f56 100644 --- a/src/heif.imageio/heifinput.cpp +++ b/src/heif.imageio/heifinput.cpp @@ -62,7 +62,7 @@ class HeifInput final : public ImageInput { void oiio_heif_init() { -#if LIBHEIF_HAVE_VERSION(1, 6, 0) +#if LIBHEIF_HAVE_VERSION(1, 16, 0) static std::once_flag flag; std::call_once(flag, []() { heif_init(nullptr); }); #endif