-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle unknown top level boxes with size == 0
In avifParse() right now we skip over unknown top level boxes with size == 0 incorrectly. The correct behavior is to simply fail on them because if we reach that point it means that: 1) there are no more boxes left to parse (since the current unknown box goes on until the end of stream). 2) we haven't found all the necessary boxes for the parsing to be considered a succeess (either ftyp or moov or meta was not yet seen).
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters