diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-09-04 13:39:49 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-09-07 13:16:52 +0400 |
commit | a7e2b2ccc9e184820f13894de6cb7e49abcb6130 (patch) | |
tree | 7cf6c794805aa5e4ef1e1189a7d4604263d17336 /libavutil/opt.h | |
parent | 0962f23b35ec6aa497f8338a7ddc2d82fda0a400 (diff) |
AVOptions: move doxy for av_opt_set_defaults() from opt.c to opt.h
Also change it to be more readable.
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 68d2c798e2..f8eea6bc2a 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -160,6 +160,11 @@ const AVOption *av_next_option(void *obj, const AVOption *last); */ int av_opt_show2(void *obj, void *av_log_obj, int req_flags, int rej_flags); +/** + * Set the values of all AVOption fields to their default values. + * + * @param s an AVOption-enabled struct (its first member must be a pointer to AVClass) + */ void av_opt_set_defaults(void *s); void av_opt_set_defaults2(void *s, int mask, int flags); |