-#if FF_API_CHILD_CLASS_NEXT
-static const AVClass *filter_child_class_next(const AVClass *prev)
-{
- void *opaque = NULL;
- const AVFilter *f = NULL;
-
- /* find the filter that corresponds to prev */
- while (prev && (f = av_filter_iterate(&opaque)))
- if (f->priv_class == prev)
- break;
-
- /* could not find filter corresponding to prev */
- if (prev && !f)
- return NULL;
-
- /* find next filter with specific options */
- while ((f = av_filter_iterate(&opaque)))
- if (f->priv_class)
- return f->priv_class;
-
- return NULL;
-}
-#endif
-