summaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2009-12-21 02:12:34 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2009-12-21 02:12:34 +0000
commit0c2a18cbcdbaa931cb151692a340c0b4cab05028 (patch)
tree63d4d1590cb0db54c19f6ded327ae7a978e830a8 /ffplay.c
parent8319aefeecdba4970586346aac0481e2ceb4e90b (diff)
downloadffmpeg-streaming-0c2a18cbcdbaa931cb151692a340c0b4cab05028.zip
ffmpeg-streaming-0c2a18cbcdbaa931cb151692a340c0b4cab05028.tar.gz
Split show_usage() out of show_help().
Originally committed as revision 20904 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index e0b248e..a254203 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2490,11 +2490,16 @@ static const OptionDef options[] = {
{ NULL, },
};
-static void show_help(void)
+static void show_usage(void)
{
printf("Simple media player\n");
printf("usage: ffplay [options] input_file\n");
printf("\n");
+}
+
+static void show_help(void)
+{
+ show_usage();
show_help_options(options, "Main options:\n",
OPT_EXPERT, 0);
show_help_options(options, "\nAdvanced options:\n",
OpenPOWER on IntegriCloud