diff options
author | James Almer <jamrial@gmail.com> | 2014-09-14 21:15:33 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2014-10-05 17:09:53 -0300 |
commit | 71718de814471b7ca871f600cd9368deb56b3972 (patch) | |
tree | fda46500bd3e425ff36915cfbc700a9b7ffa46ab /libavutil/opt.c | |
parent | 1abb77285cff29eb00b766bdaa68fb4b757455aa (diff) |
avutil: remove obsolete FF_API_FIND_OPT cruft
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/opt.c')
-rw-r--r-- | libavutil/opt.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libavutil/opt.c b/libavutil/opt.c index ee72a96471..6aabfe3137 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -40,20 +40,6 @@ #include <float.h> -#if FF_API_FIND_OPT -//FIXME order them and do a bin search -const AVOption *av_find_opt(void *v, const char *name, const char *unit, int mask, int flags) -{ - const AVOption *o = NULL; - - while ((o = av_next_option(v, o))) { - if (!strcmp(o->name, name) && (!unit || (o->unit && !strcmp(o->unit, unit))) && (o->flags & mask) == flags) - return o; - } - return NULL; -} -#endif - #if FF_API_OLD_AVOPTIONS const AVOption *av_next_option(void *obj, const AVOption *last) { |