heif: disable AVCI decoder for libheif before 1.19.6

This commit is contained in:
Daniel Novomeský 2025-03-12 13:26:42 +01:00
parent e4d95c03fa
commit 6821c29819
2 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ if (LibHeif_FOUND)
)
endif()
if (LibHeif_VERSION VERSION_GREATER_EQUAL "1.19.0")
if (LibHeif_VERSION VERSION_GREATER_EQUAL "1.19.6")
kimageformats_read_tests(FUZZ 4
avci
)

View File

@ -1042,7 +1042,7 @@ void HEIFHandler::queryHeifLib()
#if LIBHEIF_HAVE_VERSION(1, 13, 0)
m_hej2_decoder_available = heif_have_decoder_for_format(heif_compression_JPEG2000);
#endif
#if LIBHEIF_HAVE_VERSION(1, 19, 0)
#if LIBHEIF_HAVE_VERSION(1, 19, 6)
m_avci_decoder_available = heif_have_decoder_for_format(heif_compression_AVC);
#endif
m_plugins_queried = true;