summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/font_load_ft.c1
-rw-r--r--mencoder.c2
-rw-r--r--mplayer.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/libvo/font_load_ft.c b/libvo/font_load_ft.c
index 3279d98361..dd86172e2a 100644
--- a/libvo/font_load_ft.c
+++ b/libvo/font_load_ft.c
@@ -56,6 +56,7 @@ int vo_image_height = 0;
int force_load_font;
int using_freetype = 0;
+int font_fontconfig = 0;
//// constants
static unsigned int const colors = 256;
diff --git a/mencoder.c b/mencoder.c
index 0097bdaf31..c6195e9ec8 100644
--- a/mencoder.c
+++ b/mencoder.c
@@ -177,7 +177,7 @@ static int play_n_frames_mf=-1;
// sub:
char *font_name=NULL;
#ifdef HAVE_FONTCONFIG
-int font_fontconfig=0;
+extern int font_fontconfig;
#endif
float font_factor=0.75;
char **sub_name=NULL;
diff --git a/mplayer.c b/mplayer.c
index 8badd1812c..6e22bb6792 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -289,7 +289,7 @@ extern int vo_flags;
// sub:
char *font_name=NULL;
#ifdef HAVE_FONTCONFIG
-int font_fontconfig=0;
+extern int font_fontconfig;
#endif
float font_factor=0.75;
char **sub_name=NULL;