-
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.
Fix avifParseItemLocationBox() itemReferenceIndex (#2080)
Revert bug introduced with StreamReadBits(). Read item_reference_index even if construction_method!=2 to be accurate with the ISOBMFF specification. Add CHANGELOG.md entries. Verbose description: * Fix 'iloc' box parsing when offset_size, length_size or base_offset_size was equal to 1 or 2. Such rare files were wrongly accepted. * Fix 'iloc'v1/2 box parsing when base_offset_size!=0. Such rare files were wrongly rejected. * Fix 'iloc'v1/2 box parsing when index_size!=0. Such rare files were parsed with corrupted extent offsets and sizes instead of ignoring index_size.
- Loading branch information
Showing
2 changed files
with
21 additions
and
12 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