MCPcopy Create free account
hub / github.com/AOMediaCodec/libavif / avifEncoderDestroy

Function avifEncoderDestroy

src/write.c:506–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504}
505
506void avifEncoderDestroy(avifEncoder * encoder)
507{
508 if (encoder->csOptions) {
509 avifCodecSpecificOptionsDestroy(encoder->csOptions);
510 }
511 if (encoder->data) {
512 avifEncoderDataDestroy(encoder->data);
513 }
514 avifFree(encoder);
515}
516
517avifResult avifEncoderSetCodecSpecificOption(avifEncoder * encoder, const char * key, const char * value)
518{

Callers 5

avif_image_saverFunction · 0.85
avifEncoderCreateFunction · 0.85
mainFunction · 0.85
operator()Method · 0.85

Calls 3

avifEncoderDataDestroyFunction · 0.85
avifFreeFunction · 0.85

Tested by

no test coverage detected