[MPlayer-cvslog] r21622 - trunk/libvo/font_load_ft.c

ods15 subversion at mplayerhq.hu
Fri Dec 15 09:20:05 CET 2006


Author: ods15
Date: Fri Dec 15 09:20:05 2006
New Revision: 21622

Modified:
   trunk/libvo/font_load_ft.c

Log:
gcc 2.95 fix


Modified: trunk/libvo/font_load_ft.c
==============================================================================
--- trunk/libvo/font_load_ft.c	(original)
+++ trunk/libvo/font_load_ft.c	Fri Dec 15 09:20:05 2006
@@ -796,6 +796,8 @@
 static int prepare_charset_unicode(FT_Face face, FT_ULong *charset, FT_ULong *charcodes) {
 #ifdef HAVE_FREETYPE21
     FT_ULong  charcode;
+#else
+    int j;
 #endif
     FT_UInt   gindex;
     int i;
@@ -817,7 +819,6 @@
     }
 #else
     // for FT < 2.1 we have to use brute force enumeration
-    int j;
     i = 0;
     for (j = 33; j < 65536; j++) {
 	gindex = FT_Get_Char_Index(face, j);



More information about the MPlayer-cvslog mailing list