summaryrefslogtreecommitdiff
path: root/ffprobe.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-07-01 12:52:46 +0200
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2011-07-01 12:53:51 +0200
commit46edd3a01b68f7a1ca833510bef39f599a5055c9 (patch)
tree4b76be3482da9a94e531de95d12b9a59618c96fd /ffprobe.c
parent7464a53aaa5a241858ffbcb0194d3fc44a7aa441 (diff)
downloadffmpeg-46edd3a01b68f7a1ca833510bef39f599a5055c9.tar.gz
ffprobe: fix opt_pretty() signature
This is required after the OPT_FUNC2 removal.
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c3
1 files changed, 2 insertions, 1 deletions
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[] = {