From 276841f65a6fdbc725e18040e383491684a00413 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 13 May 2026 07:15:23 +0200 Subject: [PATCH] ignore_sequence_editlist only in libheif 1.21 --- coders/heic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/heic.c b/coders/heic.c index e8e3211f2..1d69e7921 100644 --- a/coders/heic.c +++ b/coders/heic.c @@ -696,11 +696,11 @@ static MagickBooleanType ReadHEICSequenceFrames(const ImageInfo *image_info, if (timescale == 0) timescale=1; decode_options=heif_decoding_options_alloc(); +#if LIBHEIF_NUMERIC_VERSION >= HEIC_COMPUTE_NUMERIC_VERSION(1,21,0) decode_options->ignore_sequence_editlist=1; /* Detect alpha from the track and set up chroma format. */ -#if LIBHEIF_NUMERIC_VERSION >= HEIC_COMPUTE_NUMERIC_VERSION(1,21,0) has_alpha=heif_track_has_alpha_channel(track); image->alpha_trait=UndefinedPixelTrait; if (has_alpha != 0) -- 2.54.0