[FFmpeg-cvslog] ffprobe: fix opt_pretty() signature

Stefano Sabatini git at videolan.org
Fri Jul 1 12:59:45 CEST 2011


ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Fri Jul  1 12:52:46 2011 +0200| [46edd3a01b68f7a1ca833510bef39f599a5055c9] | committer: Stefano Sabatini

ffprobe: fix opt_pretty() signature

This is required after the OPT_FUNC2 removal.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=46edd3a01b68f7a1ca833510bef39f599a5055c9
---

 ffprobe.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ffprobe.c b/ffprobe.c
index fdcdf70..7da77ed 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[] = {



More information about the ffmpeg-cvslog mailing list