mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
LibVideo: Change decode_term_subexp read to the correct number of bits
This allows parsing of the implemented functions from the VP9 spec in the test video included in /home/anon/Videos.
This commit is contained in:
parent
647472b716
commit
72efd9a5ff
|
@ -507,7 +507,7 @@ ErrorOr<u8> Parser::decode_term_subexp()
|
|||
if (TRY(m_bit_stream->read_literal(1)) == 0)
|
||||
return TRY(m_bit_stream->read_literal(4)) + 16;
|
||||
if (TRY(m_bit_stream->read_literal(1)) == 0)
|
||||
return TRY(m_bit_stream->read_literal(4)) + 32;
|
||||
return TRY(m_bit_stream->read_literal(5)) + 32;
|
||||
|
||||
auto v = TRY(m_bit_stream->read_literal(7));
|
||||
if (v < 65)
|
||||
|
|
Loading…
Reference in a new issue