You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
fftools: switch to the new child class iteration API
This commit is contained in:
@@ -202,13 +202,14 @@ void show_help_options(const OptionDef *options, const char *msg, int req_flags,
|
|||||||
|
|
||||||
void show_help_children(const AVClass *class, int flags)
|
void show_help_children(const AVClass *class, int flags)
|
||||||
{
|
{
|
||||||
const AVClass *child = NULL;
|
void *iter = NULL;
|
||||||
|
const AVClass *child;
|
||||||
if (class->option) {
|
if (class->option) {
|
||||||
av_opt_show2(&class, NULL, flags, 0);
|
av_opt_show2(&class, NULL, flags, 0);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
while (child = av_opt_child_class_next(class, child))
|
while (child = av_opt_child_class_iterate(class, &iter))
|
||||||
show_help_children(child, flags);
|
show_help_children(child, flags);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user