AVOptions: add av_opt_free convenience function.

This commit is contained in:
Anton Khirnov
2011-06-05 13:17:26 +02:00
parent 92b4abc2ad
commit b39b06233d
4 changed files with 17 additions and 1 deletions

View File

@@ -176,4 +176,9 @@ void av_opt_set_defaults2(void *s, int mask, int flags);
int av_set_options_string(void *ctx, const char *opts,
const char *key_val_sep, const char *pairs_sep);
/**
* Free all string and binary options in obj.
*/
void av_opt_free(void *obj);
#endif /* AVUTIL_OPT_H */