Commit 969c27d7 for libheif
commit 969c27d7e72c42f2b47d49a3c63f14f2602aac10
Author: Dirk Farin <dirk.farin@gmail.com>
Date: Tue Jan 13 12:01:43 2026 +0100
fix cxx_wrapper test
diff --git a/tests/cxx_wrapper.cc b/tests/cxx_wrapper.cc
index e217ea36..75a581f8 100644
--- a/tests/cxx_wrapper.cc
+++ b/tests/cxx_wrapper.cc
@@ -37,6 +37,10 @@ TEST_CASE( "C++ object copy (ColorProfile_nclx)" )
img.create(16,16, heif_colorspace_RGB, heif_chroma_interleaved_RGBA);
+ heif::ColorProfile_nclx nclx;
+ nclx.set_matrix_coefficients(heif_matrix_coefficients_SMPTE_240M);
+ img.set_nclx_color_profile(nclx);
+
heif::ColorProfile_nclx a = img.get_nclx_color_profile();
heif::ColorProfile_nclx b(a);
}
\ No newline at end of file