summaryrefslogtreecommitdiff
path: root/avprobe.c
diff options
context:
space:
mode:
Diffstat (limited to 'avprobe.c')
-rw-r--r--avprobe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/avprobe.c b/avprobe.c
index 270baccf29..996a138576 100644
--- a/avprobe.c
+++ b/avprobe.c
@@ -868,13 +868,14 @@ static void opt_input_file(void *optctx, const char *arg)
input_filename = arg;
}
-static void show_help(void)
+static int show_help(const char *opt, const char *arg)
{
av_log_set_callback(log_callback_help);
show_usage();
show_help_options(options, "Main options:\n", 0, 0);
printf("\n");
show_help_children(avformat_get_class(), AV_OPT_FLAG_DECODING_PARAM);
+ return 0;
}
static void opt_pretty(void)