X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=avprobe.c;h=99ec1aa08e5f88dc44105059a6cd43429059e930;hb=ce42a04884cd6585c596f1ecfe737dacc3e6f396;hp=ae22dac6487c6d25abc2bf279af19ccf7cf8f662;hpb=182cbe433aea20b0d9627d40de7c75713ec736db;p=ffmpeg diff --git a/avprobe.c b/avprobe.c index ae22dac6487..99ec1aa08e5 100644 --- a/avprobe.c +++ b/avprobe.c @@ -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)