Skip to content

Commit

Permalink
mask_image: fix uninitialized variable
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Oct 20, 2024
1 parent 1ca8b76 commit fd654a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libheif/image-items/mask_image.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fd654a3

Please sign in to comment.