changeset 30197:871e061553bb

Fix libass API checks libass API changed in 0.9.7, not 0.9.8.
author greg
date Fri, 08 Jan 2010 18:07:12 +0000
parents aa855d89fc9d
children 6ee34a8c5d72
files libass/ass_mp.c libass/ass_mp.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_mp.c	Fri Jan 08 15:36:38 2010 +0000
+++ b/libass/ass_mp.c	Fri Jan 08 18:07:12 2010 +0000
@@ -240,7 +240,7 @@
 	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)
--- a/libass/ass_mp.h	Fri Jan 08 15:36:38 2010 +0000
+++ b/libass/ass_mp.h	Fri Jan 08 18:07:12 2010 +0000
@@ -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