options: mark av_get_{int,double,q} as deprecated.

Convert last users to av_opt_get_*() counterparts.
This commit is contained in:
Ronald S. Bultje
2015-08-16 16:11:13 -04:00
parent b07d2a2509
commit ad45121d56
3 changed files with 15 additions and 9 deletions

View File

@@ -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);