diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-09-04 13:42:41 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-09-07 13:19:43 +0400 |
commit | 79eff9132581af69fbbd2674337b75fad29aa306 (patch) | |
tree | 598c62f3e4bbbb3714aaaed3ac7bc47cc91e8610 /libavutil/opt.h | |
parent | a7e2b2ccc9e184820f13894de6cb7e49abcb6130 (diff) |
AVOptions: deprecate av_opt_set_defaults2
It's a hack which was created to allow for multiple options with
different defaults to refer to same field (e.g. 'b' vs 'ab'). There is
no need for it anymore.
Diffstat (limited to 'libavutil/opt.h')
-rw-r--r-- | libavutil/opt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/opt.h b/libavutil/opt.h index f8eea6bc2a..c6a59196be 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -166,7 +166,11 @@ int av_opt_show2(void *obj, void *av_log_obj, int req_flags, int rej_flags); * @param s an AVOption-enabled struct (its first member must be a pointer to AVClass) */ void av_opt_set_defaults(void *s); + +#if FF_API_OLD_AVOPTIONS +attribute_deprecated void av_opt_set_defaults2(void *s, int mask, int flags); +#endif /** * Parse the key/value pairs list in opts. For each key/value pair |