mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +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
Notes:
sideshowbarker
2024-07-17 06:08:17 +09:00
Author: https://github.com/Zaggy1024 Commit: https://github.com/SerenityOS/serenity/commit/72efd9a5ff Pull-request: https://github.com/SerenityOS/serenity/pull/15363 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/FireFox317 Reviewed-by: https://github.com/MacDue Reviewed-by: https://github.com/davidot
1 changed files with 1 additions and 1 deletions
|
@ -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