Commit a4f99911 for libheif
commit a4f99911002414029ee8bd3aad7851a0400b0ce6
Author: Dirk Farin <dirk.farin@gmail.com>
Date: Tue Mar 10 17:01:56 2026 +0100
enable heif-enc's component-content-ids option only when experimental features are enabled
diff --git a/examples/heif_enc.cc b/examples/heif_enc.cc
index ab0f5eaf..6666d87c 100644
--- a/examples/heif_enc.cc
+++ b/examples/heif_enc.cc
@@ -352,7 +352,9 @@ static option long_options[] = {
#if WITH_UNCOMPRESSED_CODEC
{(char* const) "uncompressed", no_argument, 0, 'U'},
{(char* const) "unci-compression-method", required_argument, nullptr, OPTION_UNCI_COMPRESSION},
+#if HEIF_ENABLE_EXPERIMENTAL_FEATURES
{(char* const) "component-content-ids", no_argument, nullptr, OPTION_COMPONENT_CONTENT_IDS},
+#endif
#endif
{(char* const) "color-profile", required_argument, 0, OPTION_COLOR_PROFILE_PRESET},
{(char* const) "matrix_coefficients", required_argument, 0, OPTION_NCLX_MATRIX_COEFFICIENTS},