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

Removed avifEncOptions #14

Merged
merged 7 commits into from
Jan 3, 2025
Merged

Conversation

radarhere
Copy link

Suggestions for python-pillow#5201

  1. Updated indentation, as per Fixed indentation python-pillow/Pillow#8623
  2. Removed avifEncOptions. Its only purpose is to have the options set in AvifEncoderNew, and then to be read later in AvifEncoderNew, so it seems simpler to me to remove it. Feel free to disagree though.

@radarhere radarhere force-pushed the libavif-plugin branch 3 times, most recently from 57c87a8 to 0684398 Compare January 2, 2025 13:12
@radarhere radarhere force-pushed the libavif-plugin branch 2 times, most recently from 38a2e27 to a6ab8e9 Compare January 3, 2025 00:59
Comment on lines +403 to +406
avifImageDestroy(image);
avifEncoderDestroy(encoder);
Py_XDECREF(self->icc_bytes);
PyObject_Del(self);
Copy link
Owner

Choose a reason for hiding this comment

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

Good catch

src/_avif.c Show resolved Hide resolved
@fdintino fdintino merged commit 9328932 into fdintino:libavif-plugin Jan 3, 2025
127 of 130 checks passed
@radarhere radarhere deleted the libavif-plugin branch January 3, 2025 23:05
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.

2 participants