diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-08-11 16:13:54 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-08-19 19:07:43 +0200 |
commit | f617135bc94df0eff6bc5228f6a6430ce160162a (patch) | |
tree | 495461ae3080d110f885b3cb1e3a5dd7aa281a19 /avprobe.c | |
parent | 4855022aa11ec7aa1a3bd9797814e84795634abe (diff) | |
download | ffmpeg-f617135bc94df0eff6bc5228f6a6430ce160162a.tar.gz |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) |