[vlc-commits] libass: fix compilation with older versions of libass
Jean-Baptiste Kempf
git at videolan.org
Wed Dec 13 09:45:15 CET 2017
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Dec 13 09:44:56 2017 +0100| [168f6f4fde2edeb21ecfc9e4faa0345b42d2b028] | committer: Jean-Baptiste Kempf
libass: fix compilation with older versions of libass
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=168f6f4fde2edeb21ecfc9e4faa0345b42d2b028
---
modules/codec/libass.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/codec/libass.c b/modules/codec/libass.c
index 4d17cf8248..f743fbb616 100644
--- a/modules/codec/libass.c
+++ b/modules/codec/libass.c
@@ -42,6 +42,10 @@
#include <ass/ass.h>
+#if LIBASS_VERSION < 0x01300000
+# define ASS_FONTPROVIDER_AUTODETECT 1
+#endif
+
#if defined(_WIN32)
# include <vlc_charset.h>
#endif
More information about the vlc-commits
mailing list