| 147 | } |
| 148 | |
| 149 | static 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. |
no test coverage detected