Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace ipmaArray with avifItemPropertyAssociation #2555

Merged
merged 3 commits into from
Jan 6, 2025

Conversation

y-guyon
Copy link
Collaborator

@y-guyon y-guyon commented Jan 6, 2025

Go from 16 associations maximum per item to 127 unique properties maximum across all items.
Add units in avifpropertytest.
Fix avif_fuzztest_properties.

Fix for https://github.com/AOMediaCodec/libavif/actions/runs/12631930770/job/35194606943?pr=2551.

Go from 16 associations maximum per item to 127 unique properties
maximum across all items.
Add units in avifpropertytest.
Fix avif_fuzztest_properties.
@y-guyon y-guyon requested a review from maryla-uc January 6, 2025 15:14
src/write.c Outdated Show resolved Hide resolved
@y-guyon y-guyon merged commit 2de9287 into AOMediaCodec:main Jan 6, 2025
@y-guyon y-guyon deleted the props branch January 6, 2025 15:44
Copy link
Collaborator

@wantehchang wantehchang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yannis: I didn't really review this pull request. I was just curious how we enforce the 127 unique properties maximum and saw a minor issue with the MAX_PROPERTY_INDEX macro.

src/write.c Show resolved Hide resolved
@y-guyon
Copy link
Collaborator Author

y-guyon commented Jan 7, 2025

how we enforce the 127 unique properties maximum

Here:

AVIF_CHECKERR(dedup->nextIndex < MAX_PROPERTY_INDEX, AVIF_RESULT_INVALID_ARGUMENT);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants