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

libavif_jni: add missing error check #2508

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Conversation

jzern
Copy link
Collaborator

@jzern jzern commented Nov 20, 2024

image_copy is reset with the result of avifImageCreateEmpty() which
can fail. This change adds a check to match the one used for
cropped_image.

`image_copy` is reset with the result of `avifImageCreateEmpty()` which
can fail. This change adds a check to match the one used for
`cropped_image`.
@jzern jzern merged commit 03738d5 into AOMediaCodec:main Nov 20, 2024
18 checks passed
@jzern jzern deleted the jni-alloc-check branch November 20, 2024 02:06
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