Fix libass API checks

libass API changed in 0.9.7, not 0.9.8.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30239 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
greg 2010-01-08 18:07:12 +00:00
parent fd91249013
commit 699e0c888b
2 changed files with 2 additions and 2 deletions

View File

@ -240,7 +240,7 @@ void ass_configure_fonts(ass_renderer_t* priv) {
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)

View File

@ -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