Commit 881cc2722 for imagemagick.org

commit 881cc2722ed5f4e09cfd6ef5616fa3ff15cb6452
Author: Remi Collet <remi@remirepo.net>
Date:   Wed May 13 15:45:23 2026 +0200

    ignore_sequence_editlist only in libheif 1.21 (#8729)

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)