mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:47:34 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue