From 46edd3a01b68f7a1ca833510bef39f599a5055c9 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Fri, 1 Jul 2011 12:52:46 +0200 Subject: [PATCH] ffprobe: fix opt_pretty() signature This is required after the OPT_FUNC2 removal. --- ffprobe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ffprobe.c b/ffprobe.c index fdcdf70273..7da77eda2c 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -364,12 +364,13 @@ static int opt_help(const char *opt, const char *arg) return 0; } -static void opt_pretty(void) +static int opt_pretty(const char *opt, const char *arg) { show_value_unit = 1; use_value_prefix = 1; use_byte_value_binary_prefix = 1; use_value_sexagesimal_format = 1; + return 0; } static const OptionDef options[] = {