Commit b2c0eecc for libheif
commit b2c0eecc686007a82fbca8d897410dbea6915964
Author: Dirk Farin <dirk.farin@gmail.com>
Date: Fri Feb 13 00:22:29 2026 +0100
unci: save heif_channel_unknown as padded component
diff --git a/libheif/codecs/uncompressed/unc_encoder.cc b/libheif/codecs/uncompressed/unc_encoder.cc
index 0ff3abd5..ba927a91 100644
--- a/libheif/codecs/uncompressed/unc_encoder.cc
+++ b/libheif/codecs/uncompressed/unc_encoder.cc
@@ -48,6 +48,7 @@ heif_uncompressed_component_type heif_channel_to_component_type(heif_channel cha
case heif_channel_filter_array: return heif_uncompressed_component_type::component_type_filter_array;
case heif_channel_depth: return heif_uncompressed_component_type::component_type_depth;
case heif_channel_disparity: return heif_uncompressed_component_type::component_type_disparity;
+ case heif_channel_unknown: return heif_uncompressed_component_type::component_type_padded;
}
return heif_uncompressed_component_type::component_type_padded;