diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-06-05 15:17:26 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-06-05 17:01:36 +0400 |
commit | b39b06233dfd69b941a32f29171dfb63abb23c06 (patch) | |
tree | 28c0c642138802b15123b48b95ac2eea22b63831 /libavutil/opt.h | |
parent | 92b4abc2ad88ac7e89a60480094b8398fe1b8dbf (diff) |
AVOptions: add av_opt_free convenience function.
Diffstat (limited to 'libavutil/opt.h')
-rw-r--r-- | libavutil/opt.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/opt.h b/libavutil/opt.h index 6668139fec..8c3b6c1c36 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -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 */ |