mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 17:57:35 +00:00
LibVideo: Allow bit stream reads to throw errors
Errors are propagated to the user of the decoder so that they can be aware of specific places where a read failed.
This commit is contained in:
parent
af0584ea53
commit
b37ea6b414
10 changed files with 529 additions and 509 deletions
|
@ -43,7 +43,7 @@ public:
|
|||
|
||||
/* (9.3.3) */
|
||||
template<typename T = int>
|
||||
T parse_tree(SyntaxElementType type);
|
||||
ErrorOr<T> parse_tree(SyntaxElementType type);
|
||||
/* (9.3.1) */
|
||||
TreeSelection select_tree(SyntaxElementType type);
|
||||
/* (9.3.2) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue