From fd654a31acbedaa2d8f4c3a6fdc3528d7aae7a64 Mon Sep 17 00:00:00 2001 From: Dirk Farin Date: Sun, 20 Oct 2024 16:20:05 +0200 Subject: [PATCH] mask_image: fix uninitialized variable --- libheif/image-items/mask_image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libheif/image-items/mask_image.h b/libheif/image-items/mask_image.h index c61befdb2c..c858bffa37 100644 --- a/libheif/image-items/mask_image.h +++ b/libheif/image-items/mask_image.h @@ -66,7 +66,7 @@ class Box_mskC : public FullBox Error parse(BitstreamRange& range, const heif_security_limits* limits) override; private: - uint8_t m_bits_per_pixel; + uint8_t m_bits_per_pixel = 0; }; class MaskImageCodec