summaryrefslogtreecommitdiff
path: root/libavutil/opt.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2021-04-18 12:41:52 -0300
committerJames Almer <jamrial@gmail.com>2021-04-27 11:48:04 -0300
commit0bf3a7361d17d596a5044882098f56817db0e103 (patch)
tree8d4818cc5a5cb02df18b91ffaea567b7e3099666 /libavutil/opt.c
parent3749eede66c3774799766b1f246afae8a6ffc9bb (diff)
avutil: remove deprecated AVClass.child_class_next
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/opt.c')
-rw-r--r--libavutil/opt.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/libavutil/opt.c b/libavutil/opt.c
index 590146b5fb..4124efd9b6 100644
--- a/libavutil/opt.c
+++ b/libavutil/opt.c
@@ -1717,29 +1717,10 @@ void *av_opt_child_next(void *obj, void *prev)
return NULL;
}
-#if FF_API_CHILD_CLASS_NEXT
-FF_DISABLE_DEPRECATION_WARNINGS
-const AVClass *av_opt_child_class_next(const AVClass *parent, const AVClass *prev)
-{
- if (parent->child_class_next)
- return parent->child_class_next(prev);
- return NULL;
-}
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
-
const AVClass *av_opt_child_class_iterate(const AVClass *parent, void **iter)
{
if (parent->child_class_iterate)
return parent->child_class_iterate(iter);
-#if FF_API_CHILD_CLASS_NEXT
-FF_DISABLE_DEPRECATION_WARNINGS
- if (parent->child_class_next) {
- *iter = parent->child_class_next(*iter);
- return *iter;
- }
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
return NULL;
}