-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not store item pointers until all items are created
Calling avifMetaFindOrCreateItem() could invalidate all the existing item pointers that are being stored by the caller (since the function could resize the item array). This patch fixes avifDecoderReset by storing the item indices instead of item pointers until all the items are either created or found.
- Loading branch information
Showing
1 changed file
with
77 additions
and
51 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