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;
}