summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2023-05-24 05:13:56 -0400
committerTim Flynn <trflynn89@pm.me>2023-05-24 04:11:05 -0700
commit35883c337f54cc0fc6b30d2dbe04aa5eeddaa69e (patch)
tree3c980a5377d2dd14ee1b1d95b3473376bb582e4d /Userland
parenta0a860fa07513e8a2afcf1534c54293a88192155 (diff)
downloadserenity-35883c337f54cc0fc6b30d2dbe04aa5eeddaa69e.zip
LibVideo: Remove unused BooleanDecoder::bits_remaining()
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Libraries/LibVideo/VP9/BooleanDecoder.cpp5
-rw-r--r--Userland/Libraries/LibVideo/VP9/BooleanDecoder.h1
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: