summaryrefslogtreecommitdiff
path: root/ffmpeg.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 /ffmpeg.c
parenta0b3bcd9fe8503c8e842972f7ea7f83770911b73 (diff)
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 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index ae9a780265..b30ecbceb0 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -63,7 +63,7 @@
#undef exit
-static const char program_name[] = "FFmpeg";
+const char program_name[] = "FFmpeg";
static const int program_birth_year = 2000;
/* select an input stream for an output stream */
@@ -3758,7 +3758,7 @@ static int opt_bsf(const char *opt, const char *arg)
static void opt_show_version(void)
{
- show_version(program_name);
+ show_version();
av_exit(0);
}