changeset 32057:d6def8038a47

Replace a bunch of extern declarations by proper mpcommon.h #include.
author diego
date Fri, 10 Sep 2010 21:57:22 +0000
parents cf6506824b4f
children 459c2bd805c3
files libass/ass_mp.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_mp.c	Fri Sep 10 21:54:39 2010 +0000
+++ b/libass/ass_mp.c	Fri Sep 10 21:57:22 2010 +0000
@@ -25,6 +25,7 @@
 #include <stdlib.h>
 
 #include "mp_msg.h"
+#include "mpcommon.h"
 #include "path.h"
 
 #include "ass_mp.h"
@@ -59,10 +60,6 @@
 #else
 static int font_fontconfig = -1;
 #endif
-extern char* font_name;
-extern char* sub_font_name;
-extern float text_font_scale_factor;
-extern int subtitle_autoscale;
 
 #ifdef CONFIG_ICONV
 #include "subreader.h"