From 8051b919a7cc3e2feaeb72d7355dc1c1bda7ea71 Mon Sep 17 00:00:00 2001 From: iive Date: Sat, 4 Aug 2007 10:46:14 +0000 Subject: [PATCH] Fix compilation of ass_fontconfig.c when fontconfig is disabled. Add missing parameter to the function in the #else case git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24008 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libass/ass_fontconfig.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libass/ass_fontconfig.c b/libass/ass_fontconfig.c index c94434b70e..63e62f0074 100644 --- a/libass/ass_fontconfig.c +++ b/libass/ass_fontconfig.c @@ -380,7 +380,8 @@ fc_instance_t* fontconfig_init(ass_library_t* library, FT_Library ftlibrary, con #else // HAVE_FONTCONFIG -char* fontconfig_select(fc_instance_t* priv, const char* family, unsigned bold, unsigned italic, int* index) +char* fontconfig_select(fc_instance_t* priv, const char* family, unsigned bold, unsigned italic, int* index, + uint32_t code) { *index = priv->index_default; return priv->path_default;