Commit 3ad556bd0 for imagemagick.org
commit 3ad556bd05506d96bc0908ab1b8ef406a9091291
Author: Dirk Lemstra <dirk@lemstra.org>
Date: Thu May 21 09:10:22 2026 +0200
Another correction of the version check.
diff --git a/coders/heic.c b/coders/heic.c
index ca4bc8632..3b06ed48e 100644
--- a/coders/heic.c
+++ b/coders/heic.c
@@ -122,7 +122,7 @@ static MagickBooleanType
% o exception: return any errors or warnings in this structure.
%
*/
-#if LIBHEIF_NUMERIC_VERSION >= HEIC_COMPUTE_NUMERIC_VERSION(1,18,0)
+#if LIBHEIF_NUMERIC_VERSION >= HEIC_COMPUTE_NUMERIC_VERSION(1,19,0)
static inline void HEICSetUint32SecurityLimit(const ImageInfo *image_info,
const char *name,uint32_t *value)
{
@@ -983,7 +983,7 @@ static Image *ReadHEICImage(const ImageInfo *image_info,ExceptionInfo *exception
heif_context=heif_context_alloc();
if (heif_context == (struct heif_context *) NULL)
ThrowReaderException(ResourceLimitError,"MemoryAllocationFailed");
-#if LIBHEIF_NUMERIC_VERSION >= HEIC_COMPUTE_NUMERIC_VERSION(1,18,0)
+#if LIBHEIF_NUMERIC_VERSION >= HEIC_COMPUTE_NUMERIC_VERSION(1,19,0)
HEICSecurityLimits(image_info,heif_context);
#endif
error=heif_context_read_from_file(heif_context,image->filename,