Mercurial > mplayer.hg
diff libass/ass_mp.c @ 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 | a2e4fd61dc4a |
children | 7446f58b6899 |
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)