[MPlayer-cvslog] r20467 - trunk/libass/ass_render.c

eugeni subversion at mplayerhq.hu
Fri Oct 27 18:02:45 CEST 2006


Author: eugeni
Date: Fri Oct 27 18:02:44 2006
New Revision: 20467

Modified:
   trunk/libass/ass_render.c

Log:
Add missing fontconfig_done() call.


Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c	(original)
+++ trunk/libass/ass_render.c	Fri Oct 27 18:02:44 2006
@@ -1968,6 +1968,8 @@
 	priv->settings.default_font = default_font ? strdup(default_font) : 0;
 	priv->settings.default_family = default_family ? strdup(default_family) : 0;
 
+	if (priv->fontconfig_priv)
+		fontconfig_done(priv->fontconfig_priv);
 	priv->fontconfig_priv = fontconfig_init(fonts_dir, default_family, default_font);
 
 	return !!priv->fontconfig_priv;



More information about the MPlayer-cvslog mailing list