mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
LibVideo: Initialize VP9 BitStream's reservoir field
Leaving it uninitialized could lead to undefined behavior.
This commit is contained in:
parent
fef19aa589
commit
0c07bed89c
|
@ -47,7 +47,7 @@ private:
|
|||
|
||||
u8 const* m_data_ptr { nullptr };
|
||||
u8 const* m_end_ptr { nullptr };
|
||||
u64 m_reservoir;
|
||||
u64 m_reservoir { 0 };
|
||||
u8 m_reservoir_bits_remaining { 0 };
|
||||
size_t m_bits_read { 0 };
|
||||
|
||||
|
|
Loading…
Reference in a new issue