diff mencoder.c @ 25351:f46e91c64b39

Fix libass to support -nofontconfig. For history reason, fontconfig is auto-enabled when ass is enabled, we keep this behavior and document it clearly.
author ulion
date Wed, 12 Dec 2007 10:00:34 +0000
parents e82ecde2cbd4
children 273c1eaae7c8
line wrap: on
line diff
--- a/mencoder.c	Wed Dec 12 08:50:54 2007 +0000
+++ b/mencoder.c	Wed Dec 12 10:00:34 2007 +0000
@@ -533,7 +533,7 @@
   init_freetype();
 #endif
 #ifdef HAVE_FONTCONFIG
-  if(!font_fontconfig)
+  if(font_fontconfig <= 0)
   {
 #endif
 #ifdef HAVE_BITMAP_FONT