diff options
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); |