lavf: simplify format_child_class_next()