Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-11 18:13:54 +0400
committerAnton Khirnov <anton@khirnov.net>2012-08-19 21:07:43 +0400
commitf617135bc94df0eff6bc5228f6a6430ce160162a (patch)
tree495461ae3080d110f885b3cb1e3a5dd7aa281a19 /avprobe.c
parent4855022aa11ec7aa1a3bd9797814e84795634abe (diff)
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*).
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)