Commit 9e144d1f for libheif
commit 9e144d1f8d49cc267337a8e681ca1828be3b9af5
Author: Dirk Farin <dirk.farin@gmail.com>
Date: Fri May 15 18:44:56 2026 +0200
remove unnecessary cast
diff --git a/libheif/codecs/avif_dec.cc b/libheif/codecs/avif_dec.cc
index e0446a2d..3ee6169c 100644
--- a/libheif/codecs/avif_dec.cc
+++ b/libheif/codecs/avif_dec.cc
@@ -61,7 +61,7 @@ int Decoder_AVIF::get_chroma_bits_per_pixel() const
Error Decoder_AVIF::get_coded_image_colorspace(heif_colorspace* out_colorspace, heif_chroma* out_chroma) const
{
- *out_chroma = (heif_chroma) (m_av1C->get_configuration().get_heif_chroma());
+ *out_chroma = m_av1C->get_configuration().get_heif_chroma();
if (*out_chroma == heif_chroma_monochrome) {
*out_colorspace = heif_colorspace_monochrome;