Skip to content

AVIF encoder fails when reused #2568

Answered by y-guyon
Wmeeww asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for your interest in libavif.

Unfortunately an avifEncoder instance cannot be reused for encoding multiple still images or animations.
Please call avifEncoderCreate() for each asset to encode and remember to call avifEncoderDestroy() as many times as avifEncoderCreate().

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Wmeeww
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants