From a7e2b2ccc9e184820f13894de6cb7e49abcb6130 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 4 Sep 2011 11:39:49 +0200 Subject: AVOptions: move doxy for av_opt_set_defaults() from opt.c to opt.h Also change it to be more readable. --- libavutil/opt.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavutil/opt.h') 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); -- cgit v1.2.3