diff options
author | Nico Weber <thakis@chromium.org> | 2023-05-24 05:13:56 -0400 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2023-05-24 04:11:05 -0700 |
commit | 35883c337f54cc0fc6b30d2dbe04aa5eeddaa69e (patch) | |
tree | 3c980a5377d2dd14ee1b1d95b3473376bb582e4d /Userland | |
parent | a0a860fa07513e8a2afcf1534c54293a88192155 (diff) | |
download | serenity-35883c337f54cc0fc6b30d2dbe04aa5eeddaa69e.zip |
LibVideo: Remove unused BooleanDecoder::bits_remaining()
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Libraries/LibVideo/VP9/BooleanDecoder.cpp | 5 | ||||
-rw-r--r-- | Userland/Libraries/LibVideo/VP9/BooleanDecoder.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/Userland/Libraries/LibVideo/VP9/BooleanDecoder.cpp b/Userland/Libraries/LibVideo/VP9/BooleanDecoder.cpp index 457bc3b721..6a3e40d536 100644 --- a/Userland/Libraries/LibVideo/VP9/BooleanDecoder.cpp +++ b/Userland/Libraries/LibVideo/VP9/BooleanDecoder.cpp @@ -62,11 +62,6 @@ ErrorOr<u8> BooleanDecoder::read_literal(u8 bits) return return_value; } -size_t BooleanDecoder::bits_remaining() const -{ - return m_bits_left; -} - /* 9.2.3 */ ErrorOr<void> BooleanDecoder::finish_decode() { diff --git a/Userland/Libraries/LibVideo/VP9/BooleanDecoder.h b/Userland/Libraries/LibVideo/VP9/BooleanDecoder.h index 0d5f2cb4df..46ebf6db1f 100644 --- a/Userland/Libraries/LibVideo/VP9/BooleanDecoder.h +++ b/Userland/Libraries/LibVideo/VP9/BooleanDecoder.h @@ -20,7 +20,6 @@ public: static ErrorOr<BooleanDecoder> initialize(MaybeOwned<BigEndianInputBitStream> bit_stream, size_t bytes); ErrorOr<bool> read_bool(u8 probability); ErrorOr<u8> read_literal(u8 bits); - size_t bits_remaining() const; ErrorOr<void> finish_decode(); private: |