浏览代码

LibVideo: Remove unused BooleanDecoder::bits_remaining()

Nico Weber 2 年之前
父节点
当前提交
35883c337f

+ 0 - 5
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()
 {

+ 0 - 1
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: