Commit c1d5c1b9 for libheif
commit c1d5c1b9af7b62c33f9489d70ad2c91c1714184a
Author: Dirk Farin <dirk.farin@gmail.com>
Date: Tue Jan 13 10:53:27 2026 +0100
check existence of nclx profile by testing against 'undefined' (#1667)
diff --git a/libheif/pixelimage.cc b/libheif/pixelimage.cc
index 47705973..6e2e5bf1 100644
--- a/libheif/pixelimage.cc
+++ b/libheif/pixelimage.cc
@@ -99,7 +99,7 @@ ImageExtraData::~ImageExtraData()
bool ImageExtraData::has_nclx_color_profile() const
{
- return m_color_profile_nclx != nclx_profile::defaults();
+ return m_color_profile_nclx != nclx_profile::undefined();
}