summaryrefslogtreecommitdiffstats
path: root/vobsub.c
diff options
context:
space:
mode:
Diffstat (limited to 'vobsub.c')
-rw-r--r--vobsub.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/vobsub.c b/vobsub.c
index f14e72f7d3..f208b7d8de 100644
--- a/vobsub.c
+++ b/vobsub.c
@@ -32,8 +32,7 @@
#include <sys/types.h>
#include "config.h"
-#include "version.h"
-
+#include "mpcommon.h"
#include "vobsub.h"
#include "spudec.h"
#include "mp_msg.h"
@@ -1254,12 +1253,12 @@ static void create_idx(vobsub_out_t *me, const unsigned int *palette,
fprintf(me->fidx,
"# VobSub index file, v7 (do not modify this line!)\n"
"#\n"
- "# Generated by MPlayer " VERSION "\n"
+ "# Generated by %s\n"
"# See <URL:http://www.mplayerhq.hu/> for more information about MPlayer\n"
"# See <URL:http://wiki.multimedia.cx/index.php?title=VOBsub> for more information about Vobsub\n"
"#\n"
"size: %ux%u\n",
- orig_width, orig_height);
+ mplayer_version, orig_width, orig_height);
if (palette) {
fputs("palette:", me->fidx);
for (i = 0; i < 16; ++i) {