From f617135bc94df0eff6bc5228f6a6430ce160162a Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 11 Aug 2012 16:13:54 +0200 Subject: avtools: fix show_foo() signatures. show_foo() functions are declared as void show_foo(void), but called as int show_foo(const char*, const char*). --- avprobe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'avprobe.c') 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) -- cgit v1.2.3