summaryrefslogtreecommitdiffstats
path: root/mpcommon.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-06-28 08:26:14 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:11:43 +0200
commita1b8092c872977e3289e6cf5232d5b534fbd90b8 (patch)
tree2ee9b6b07f8e25f29fd8a06505c582e13403c171 /mpcommon.c
parent055f411ce338343cf996d256b262b9423ee68a20 (diff)
downloadmpv-a1b8092c872977e3289e6cf5232d5b534fbd90b8.tar.bz2
mpv-a1b8092c872977e3289e6cf5232d5b534fbd90b8.tar.xz
Factorize MPlayer/MEncoder version string handling.
The string now resides in a central object file instead of being duplicated in every file that requires a version string. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31577 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mpcommon.c')
-rw-r--r--mpcommon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mpcommon.c b/mpcommon.c
index 5756b8ad6a..0b6d95d92b 100644
--- a/mpcommon.c
+++ b/mpcommon.c
@@ -44,6 +44,8 @@ ASS_Track *ass_track = 0; // current track to render
sub_data* subdata = NULL;
subtitle* vo_sub_last = NULL;
+const char *mencoder_version = "MEncoder " VERSION;
+const char *mplayer_version = "MPlayer " VERSION;
void print_version(const char* name)
{