diff options
author | James Almer <jamrial@gmail.com> | 2021-04-18 12:41:52 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-27 11:48:04 -0300 |
commit | 0bf3a7361d17d596a5044882098f56817db0e103 (patch) | |
tree | 8d4818cc5a5cb02df18b91ffaea567b7e3099666 /libavcodec/bitstream_filters.c | |
parent | 3749eede66c3774799766b1f246afae8a6ffc9bb (diff) | |
download | ffmpeg-0bf3a7361d17d596a5044882098f56817db0e103.tar.gz |
avutil: remove deprecated AVClass.child_class_next
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/bitstream_filters.c')
-rw-r--r-- | libavcodec/bitstream_filters.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/libavcodec/bitstream_filters.c b/libavcodec/bitstream_filters.c index 3de2af92d3..e03326515b 100644 --- a/libavcodec/bitstream_filters.c +++ b/libavcodec/bitstream_filters.c @@ -91,28 +91,6 @@ const AVBitStreamFilter *av_bsf_get_by_name(const char *name) return NULL; } -#if FF_API_CHILD_CLASS_NEXT -const AVClass *ff_bsf_child_class_next(const AVClass *prev) -{ - const AVBitStreamFilter *f = NULL; - void *i = 0; - - /* find the filter that corresponds to prev */ - while (prev && (f = av_bsf_iterate(&i))) { - if (f->priv_class == prev) { - break; - } - } - - /* find next filter with priv options */ - while ((f = av_bsf_iterate(&i))) { - if (f->priv_class) - return f->priv_class; - } - return NULL; -} -#endif - const AVClass *ff_bsf_child_class_iterate(void **opaque) { const AVBitStreamFilter *f; |