mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +00:00
LibVideo: Migrate to east-const style & apply other minor fixes
This patch brings all of LibVideo up to the east-const style in the project. Additionally, it applies a few fixes from the reviews in #8170 that referred to older LibVideo code.
This commit is contained in:
parent
7d4053dde1
commit
988e17ed05
12 changed files with 48 additions and 50 deletions
|
@ -13,7 +13,7 @@ namespace Video::VP9 {
|
|||
|
||||
class BitStream {
|
||||
public:
|
||||
BitStream(const u8* data, size_t size)
|
||||
BitStream(u8 const* data, size_t size)
|
||||
: m_data_ptr(data)
|
||||
, m_bytes_remaining(size)
|
||||
{
|
||||
|
@ -36,7 +36,7 @@ public:
|
|||
bool exit_bool();
|
||||
|
||||
private:
|
||||
const u8* m_data_ptr { nullptr };
|
||||
u8 const* m_data_ptr { nullptr };
|
||||
size_t m_bytes_remaining { 0 };
|
||||
Optional<u8> m_current_byte;
|
||||
i8 m_current_bit_position { 0 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue