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

Function avifCodecEncodeOutputDestroy

src/write.c:151–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void avifCodecEncodeOutputDestroy(avifCodecEncodeOutput * encodeOutput)
152{
153 for (uint32_t sampleIndex = 0; sampleIndex < encodeOutput->samples.count; ++sampleIndex) {
154 avifRWDataFree(&encodeOutput->samples.sample[sampleIndex].data);
155 }
156 avifArrayDestroy(&encodeOutput->samples);
157 avifFree(encodeOutput);
158}
159
160// ---------------------------------------------------------------------------
161// avifEncoderItem

Callers 3

avifEncoderDataDestroyFunction · 0.85

Calls 3

avifRWDataFreeFunction · 0.85
avifArrayDestroyFunction · 0.85
avifFreeFunction · 0.85

Tested by

no test coverage detected