diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2015-08-16 16:11:13 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2015-08-18 12:05:17 -0400 |
commit | ad45121d562d99c07ab8f77b01ba4bc610dbe0c0 (patch) | |
tree | 0ff71fd98a27694846cf1f8857ae369d7a0841f0 /libavutil | |
parent | b07d2a250955ef03b63db125c581faf48d206cbd (diff) | |
download | ffmpeg-ad45121d562d99c07ab8f77b01ba4bc610dbe0c0.tar.gz |
options: mark av_get_{int,double,q} as deprecated.
Convert last users to av_opt_get_*() counterparts.
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/opt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/opt.h b/libavutil/opt.h index 0bc0d30972..481d096a1b 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -413,8 +413,11 @@ attribute_deprecated const AVOption *av_set_double(void *obj, const char *name, attribute_deprecated const AVOption *av_set_q(void *obj, const char *name, AVRational n); attribute_deprecated const AVOption *av_set_int(void *obj, const char *name, int64_t n); +attribute_deprecated double av_get_double(void *obj, const char *name, const AVOption **o_out); +attribute_deprecated AVRational av_get_q(void *obj, const char *name, const AVOption **o_out); +attribute_deprecated int64_t av_get_int(void *obj, const char *name, const AVOption **o_out); attribute_deprecated const char *av_get_string(void *obj, const char *name, const AVOption **o_out, char *buf, int buf_len); attribute_deprecated const AVOption *av_next_option(FF_CONST_AVUTIL55 void *obj, const AVOption *last); |