diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-08-29 14:37:22 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-08-30 13:56:25 +0200 |
commit | 11d957fbd81288e64408e79ed369446346000b29 (patch) | |
tree | 72c1812a15ab34be2908a01de8fec89c27fad2ea /avprobe.c | |
parent | bbcedade008b5471c71122944cf4dee1951138ec (diff) | |
download | ffmpeg-11d957fbd81288e64408e79ed369446346000b29.tar.gz |
avtools: remove the distinction between func_arg and func2_arg.
func2_arg is the same as func_arg, except it has one additional
parameter. Change all func_arg callbacks to take that parameter (and
ignore it).
Diffstat (limited to 'avprobe.c')
-rw-r--r-- | avprobe.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -794,7 +794,7 @@ static void show_usage(void) printf("\n"); } -static int opt_format(const char *opt, const char *arg) +static int opt_format(void *optctx, const char *opt, const char *arg) { iformat = av_find_input_format(arg); if (!iformat) { @@ -804,7 +804,7 @@ static int opt_format(const char *opt, const char *arg) return 0; } -static int opt_output_format(const char *opt, const char *arg) +static int opt_output_format(void *optctx, const char *opt, const char *arg) { if (!strcmp(arg, "json")) { @@ -838,7 +838,7 @@ static int opt_output_format(const char *opt, const char *arg) return 0; } -static int opt_show_format_entry(const char *opt, const char *arg) +static int opt_show_format_entry(void *optctx, const char *opt, const char *arg) { do_show_format = 1; nb_fmt_entries_to_show++; @@ -877,7 +877,7 @@ void show_help_default(const char *opt, const char *arg) show_help_children(avformat_get_class(), AV_OPT_FLAG_DECODING_PARAM); } -static int opt_pretty(const char *opt, const char *arg) +static int opt_pretty(void *optctx, const char *opt, const char *arg) { show_value_unit = 1; use_value_prefix = 1; |