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[] = {