diff libass/ass_render.c @ 20501:30df9a64618a

Copy the following functions to libass to avoid dependency on the rest of mplayer: guess_buffer_cp utf8_get_char blur
author eugeni
date Sun, 29 Oct 2006 15:03:30 +0000
parents 8fb860996f8f
children 5cbf1c33a668
line wrap: on
line diff
--- a/libass/ass_render.c	Sun Oct 29 14:45:44 2006 +0000
+++ b/libass/ass_render.c	Sun Oct 29 15:03:30 2006 +0000
@@ -38,8 +38,6 @@
 #include "ass_fontconfig.h"
 #include "ass_library.h"
 
-#include "libvo/sub.h" // for utf8_get_char
-
 #define MAX_GLYPHS 1000
 #define MAX_LINES 100
 
@@ -1079,7 +1077,7 @@
 			return ' ';
 		}
 	}
-	chr = utf8_get_char(&p);
+	chr = ass_utf8_get_char(&p);
 	*str = p;
 	return chr;
 }