Commit b6706425 for libheif
commit b670642566d3943c7893f654aaa6aefb82842c05
Author: Dirk Farin <dirk.farin@gmail.com>
Date: Fri Feb 13 00:18:45 2026 +0100
unci: block unsupported component_little_endian in unc_decoder_block_component_interleave
diff --git a/libheif/codecs/uncompressed/unc_decoder_block_component_interleave.cc b/libheif/codecs/uncompressed/unc_decoder_block_component_interleave.cc
index 60a3e0d6..625df8fd 100644
--- a/libheif/codecs/uncompressed/unc_decoder_block_component_interleave.cc
+++ b/libheif/codecs/uncompressed/unc_decoder_block_component_interleave.cc
@@ -192,6 +192,10 @@ bool unc_decoder_factory_block_component_interleave::can_decode(const std::share
return false;
}
+ if (uncC->is_components_little_endian() == true) {
+ return false;
+ }
+
uint32_t block_bits = uncC->get_block_size() * 8;
for (const auto& component : uncC->get_components()) {