-
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.
Convert avifDecoderItemArray into an array of pointers
Instead of storing the struct directly in a dynamic array, store it as pointers that are stored in a dynamic array. This way when the dynamic array is resized, the pointers will still be valid and be copied over and there will be no dangling pointers.
- Loading branch information
Showing
1 changed file
with
37 additions
and
26 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