mirror of
https://github.com/mpv-player/mpv
synced 2025-03-03 12:47:49 +00:00
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:
parent
fd91249013
commit
699e0c888b
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user