[MPlayer-cvslog] r21282 - in trunk/libass: ass_cache.c ass_cache.h

eugeni subversion at mplayerhq.hu
Sun Nov 26 21:38:06 CET 2006


Author: eugeni
Date: Sun Nov 26 21:38:06 2006
New Revision: 21282

Modified:
   trunk/libass/ass_cache.c
   trunk/libass/ass_cache.h

Log:
Move ass_font_t to header.


Modified: trunk/libass/ass_cache.c
==============================================================================
--- trunk/libass/ass_cache.c	(original)
+++ trunk/libass/ass_cache.c	Sun Nov 26 21:38:06 2006
@@ -31,14 +31,6 @@
 #include "ass_bitmap.h"
 #include "ass_cache.h"
 
-
-typedef struct ass_font_s {
-	ass_font_desc_t desc;
-	char* path;
-	int index;
-	FT_Face face;
-} ass_font_t;
-
 #define MAX_FONT_CACHE_SIZE 100
 
 static ass_font_t* font_cache;

Modified: trunk/libass/ass_cache.h
==============================================================================
--- trunk/libass/ass_cache.h	(original)
+++ trunk/libass/ass_cache.h	Sun Nov 26 21:38:06 2006
@@ -33,6 +33,13 @@
 	unsigned italic;
 } ass_font_desc_t;
 
+typedef struct ass_font_s {
+	ass_font_desc_t desc;
+	char* path;
+	int index;
+	FT_Face face;
+} ass_font_t;
+
 void ass_font_cache_init(void);
 int ass_new_font(FT_Library library, void* fontconfig_priv, ass_font_desc_t* desc, /*out*/ FT_Face* face);
 void ass_font_cache_done(void);



More information about the MPlayer-cvslog mailing list