[FFmpeg-cvslog] ffprobe: fix crash with -h.
Clément Bœsch
git at videolan.org
Fri Sep 16 14:33:09 CEST 2011
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Fri Sep 16 14:31:42 2011 +0200| [8af64e1a67725d29410219aaa8a5e8f2aaea7acf] | committer: Clément Bœsch
ffprobe: fix crash with -h.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8af64e1a67725d29410219aaa8a5e8f2aaea7acf
---
ffprobe.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ffprobe.c b/ffprobe.c
index 71e4b9b..6c677e8 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -663,7 +663,7 @@ static const OptionDef options[] = {
"use sexagesimal format HOURS:MM:SS.MICROSECONDS for time units" },
{ "pretty", 0, {(void*)&opt_pretty},
"prettify the format of displayed values, make it more human readable" },
- { "print_format", OPT_STRING | HAS_ARG, {(void*)&print_format}, "set the output printing format (available formats are: default, json)" },
+ { "print_format", OPT_STRING | HAS_ARG, {(void*)&print_format}, "set the output printing format (available formats are: default, json)", "format" },
{ "show_format", OPT_BOOL, {(void*)&do_show_format} , "show format/container info" },
{ "show_packets", OPT_BOOL, {(void*)&do_show_packets}, "show packets info" },
{ "show_streams", OPT_BOOL, {(void*)&do_show_streams}, "show streams info" },
More information about the ffmpeg-cvslog
mailing list