Commit edcb909c for libheif

commit edcb909c796a9ef8c7c1a572f72cb84e8340f68b
Author: Dirk Farin <dirk.farin@gmail.com>
Date:   Sat Dec 13 19:17:49 2025 +0100

    SVT-AV1: tried to use 'avif=true' when coding single images, but it is currently not working

diff --git a/libheif/plugins/encoder_svt.cc b/libheif/plugins/encoder_svt.cc
index a7feacc4..f8632d6c 100644
--- a/libheif/plugins/encoder_svt.cc
+++ b/libheif/plugins/encoder_svt.cc
@@ -84,6 +84,7 @@ struct encoder_struct_svt
   EbSvtAv1EncConfiguration svt_config;
   EbBufferHeaderType input_buffer;

+  bool still_image_mode = false;

   // --- output

@@ -854,6 +855,11 @@ static heif_error svt_start_sequence_encoding_intern(void* encoder_raw, const he
     }
 #endif
   }
+  else {
+    // TODO: enable when https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/2245 is resolved
+    // svt_config.avif = true;
+    // encoder->still_image_mode = true;
+  }

   if (color_format == EB_YUV422 || bitdepth_y > 10) {
     svt_config.profile = PROFESSIONAL_PROFILE;