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

Function avifPropertyArrayDestroy

src/read.c:331–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331static void avifPropertyArrayDestroy(avifPropertyArray * array)
332{
333 for (size_t i = 0; i < array->count; ++i) {
334 if (array->prop[i].isOpaque) {
335 avifRWDataFree(&array->prop[i].u.opaque.boxPayload);
336 }
337 }
338 avifArrayDestroy(array);
339}
340
341static void avifSampleTableDestroy(avifSampleTable * sampleTable)
342{

Callers 3

avifSampleTableDestroyFunction · 0.85
avifMetaDestroyFunction · 0.85
avifMetaFindOrCreateItemFunction · 0.85

Calls 2

avifRWDataFreeFunction · 0.85
avifArrayDestroyFunction · 0.85

Tested by

no test coverage detected