[MPlayer-cvslog] r30239 - in trunk/libass: ass_mp.c ass_mp.h

greg subversion at mplayerhq.hu
Fri Jan 8 19:07:12 CET 2010


Author: greg
Date: Fri Jan  8 19:07:12 2010
New Revision: 30239

Log:
Fix libass API checks

libass API changed in 0.9.7, not 0.9.8.

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

Modified: trunk/libass/ass_mp.c
==============================================================================
--- trunk/libass/ass_mp.c	Fri Jan  8 16:36:38 2010	(r30238)
+++ trunk/libass/ass_mp.c	Fri Jan  8 19:07:12 2010	(r30239)
@@ -240,7 +240,7 @@ void ass_configure_fonts(ass_renderer_t*
 	else if (font_fontconfig >= 0 && font_name) family = strdup(font_name);
 	else family = 0;
 
-#if defined(LIBASS_VERSION) && LIBASS_VERSION >= 0x00908000
+#if defined(LIBASS_VERSION) && LIBASS_VERSION >= 0x00907010
         ass_set_fonts(priv, path, family, font_fontconfig, NULL, 1);
 #else
 	if (font_fontconfig >= 0)

Modified: trunk/libass/ass_mp.h
==============================================================================
--- trunk/libass/ass_mp.h	Fri Jan  8 16:36:38 2010	(r30238)
+++ trunk/libass/ass_mp.h	Fri Jan  8 19:07:12 2010	(r30239)
@@ -29,7 +29,7 @@
 #else
 #include <ass/ass.h>
 #endif
-#if defined(LIBASS_VERSION) && LIBASS_VERSION >= 0x00908000
+#if defined(LIBASS_VERSION) && LIBASS_VERSION >= 0x00907010
 #define ass_library_t ASS_Library
 #define ass_track_t ASS_Track
 #define ass_track_s ASS_Track


More information about the MPlayer-cvslog mailing list