MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / opt_free_array

Function opt_free_array

libavutil/opt.c:149–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147}
148
149static void opt_free_array(const AVOption *o, void *parray, unsigned *count)
150{
151 for (unsigned i = 0; i < *count; i++)
152 opt_free_elem(o->type, opt_array_pelem(o, *(void **)parray, i));
153
154 av_freep(parray);
155 *count = 0;
156}
157
158/**
159 * Perform common setup for option-setting functions.

Callers 4

opt_set_arrayFunction · 0.85
av_opt_freeFunction · 0.85
opt_copy_arrayFunction · 0.85
av_opt_set_arrayFunction · 0.85

Calls 3

opt_free_elemFunction · 0.85
opt_array_pelemFunction · 0.85
av_freepFunction · 0.85

Tested by

no test coverage detected