diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-10-04 14:50:00 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-10-12 16:51:17 +0200 |
commit | 7a6cd9957de27cbc8a69510f3d11dffea31f7ad8 (patch) | |
tree | 6ad2d4175869d9f15a5e5789b98ea2a520cdf855 /avprobe.c | |
parent | 145f741e115c75eac511e0ceb7a3c44585e871e3 (diff) | |
download | ffmpeg-7a6cd9957de27cbc8a69510f3d11dffea31f7ad8.tar.gz |
cmdutils/avtools: simplify show_help() by using av_opt_child_class_next()
Diffstat (limited to 'avprobe.c')
-rw-r--r-- | avprobe.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -360,13 +360,11 @@ static void opt_input_file(void *optctx, const char *arg) static void show_help(void) { - const AVClass *class = avformat_get_class(); av_log_set_callback(log_callback_help); show_usage(); show_help_options(options, "Main options:\n", 0, 0); printf("\n"); - av_opt_show2(&class, NULL, - AV_OPT_FLAG_DECODING_PARAM, 0); + show_help_children(avformat_get_class(), AV_OPT_FLAG_DECODING_PARAM); } static void opt_pretty(void) |