summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-05-21 23:36:32 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-05-21 23:36:32 +0000
commit64555bd9b1596dca0aeac8ffe533ddca62356b80 (patch)
tree19033ca9533a8a9aab70467cea3dae417d8031a2 /ffplay.c
parenta0b3bcd9fe8503c8e842972f7ea7f83770911b73 (diff)
downloadffmpeg-64555bd9b1596dca0aeac8ffe533ddca62356b80.tar.gz
Do not pass program_name as argument to show_version(), this allows some
future simplifications. Originally committed as revision 13232 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffplay.c b/ffplay.c
index d1842bdf58..02d0dc4632 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -39,7 +39,7 @@
#undef exit
-static const char program_name[] = "FFplay";
+const char program_name[] = "FFplay";
static const int program_birth_year = 2003;
//#define DEBUG_SYNC
@@ -2440,7 +2440,7 @@ static void opt_show_help(void)
static void opt_show_version(void)
{
- show_version(program_name);
+ show_version();
exit(0);
}