diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-05-27 15:25:38 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-06-10 12:36:44 +0200 |
commit | e0fbb6cf2bea2427c5b794a5a9fbd39fd0b4f888 (patch) | |
tree | def25bdfceedcc09e3e5731349662fc5e4db7d47 /fftools | |
parent | 1b4a98b0296c7aa6d294ea73ec567d38cf5c5196 (diff) | |
download | ffmpeg-e0fbb6cf2bea2427c5b794a5a9fbd39fd0b4f888.tar.gz |
fftools: switch to the new child class iteration API
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/cmdutils.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 13567a777e..88fdbeaf1e 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -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) { - const AVClass *child = NULL; + void *iter = NULL; + const AVClass *child; if (class->option) { av_opt_show2(&class, NULL, flags, 0); 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); } |