summaryrefslogtreecommitdiff
path: root/libavcodec/bsf.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-05-27 15:34:07 +0200
committerAnton Khirnov <anton@khirnov.net>2020-06-10 12:36:44 +0200
commitc0d6eaca50ad65fb8f45b02863d31b3421899959 (patch)
treee40e0a64c81d52f62d1757e8e6fc72940f007011 /libavcodec/bsf.c
parente0fbb6cf2bea2427c5b794a5a9fbd39fd0b4f888 (diff)
bsf: switch to child_class_iterate()
Diffstat (limited to 'libavcodec/bsf.c')
-rw-r--r--libavcodec/bsf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/bsf.c b/libavcodec/bsf.c
index 5e1c794a76..d71bc32584 100644
--- a/libavcodec/bsf.c
+++ b/libavcodec/bsf.c
@@ -79,7 +79,10 @@ static const AVClass bsf_class = {
.item_name = bsf_to_name,
.version = LIBAVUTIL_VERSION_INT,
.child_next = bsf_child_next,
+#if FF_API_CHILD_CLASS_NEXT
.child_class_next = ff_bsf_child_class_next,
+#endif
+ .child_class_iterate = ff_bsf_child_class_iterate,
.category = AV_CLASS_CATEGORY_BITSTREAM_FILTER,
};