vlc/vlc-3.0 | branch: master | Jean-Baptiste Kempf <j...@videolan.org> | Wed Dec 13 09:44:56 2017 +0100| [33a367b62427f8cf95afb5811b0db54ffdb6a2a6] | committer: Jean-Baptiste Kempf
libass: fix compilation with older versions of libass (cherry picked from commit 168f6f4fde2edeb21ecfc9e4faa0345b42d2b028) Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org> > http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=33a367b62427f8cf95afb5811b0db54ffdb6a2a6 --- 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 _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits