diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-06-28 08:26:14 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:11:43 +0200 |
commit | a1b8092c872977e3289e6cf5232d5b534fbd90b8 (patch) | |
tree | 2ee9b6b07f8e25f29fd8a06505c582e13403c171 /stream/stream_cddb.c | |
parent | 055f411ce338343cf996d256b262b9423ee68a20 (diff) | |
download | mpv-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 'stream/stream_cddb.c')
-rw-r--r-- | stream/stream_cddb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stream/stream_cddb.c b/stream/stream_cddb.c index 24467f13d4..abc6a86966 100644 --- a/stream/stream_cddb.c +++ b/stream/stream_cddb.c @@ -70,7 +70,7 @@ #include "osdep/osdep.h" #include "cdd.h" -#include "version.h" +#include "mpcommon.h" #include "stream.h" #include "network.h" #include "libavutil/common.h" @@ -748,8 +748,8 @@ static void cddb_create_hello(cddb_data_t *cddb_data) } user_name = getenv("LOGNAME"); } - sprintf(cddb_data->cddb_hello, "&hello=%s+%s+%s+%s", - user_name, host_name, "MPlayer", VERSION); + sprintf(cddb_data->cddb_hello, "&hello=%s+%s+%s", + user_name, host_name, mplayer_version); } static int cddb_retrieve(cddb_data_t *cddb_data) |