summaryrefslogtreecommitdiffstats
path: root/libass
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-01 18:51:59 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-01 18:51:59 +0000
commitc1d166be18a2cabbe0df2a1c6a704f04a97137cd (patch)
treeea7b8208a0b4b09061133b348ec406897422f18f /libass
parent92cd6dc3e916ae4275ff05d2b238fc778cfbfc6b (diff)
downloadmpv-c1d166be18a2cabbe0df2a1c6a704f04a97137cd.tar.bz2
mpv-c1d166be18a2cabbe0df2a1c6a704f04a97137cd.tar.xz
Fix compilation if FreeType is not available, in particular do not try to build
libass and use the internal ass.h as a stub for structs needed for EOSD. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30166 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass')
-rw-r--r--libass/ass_mp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_mp.h b/libass/ass_mp.h
index 74fc869c2e..2b96ddeea1 100644
--- a/libass/ass_mp.h
+++ b/libass/ass_mp.h
@@ -24,7 +24,7 @@
#define LIBASS_MP_H
#include "subreader.h"
-#ifdef CONFIG_ASS_INTERNAL
+#if defined(CONFIG_ASS_INTERNAL) || !defined(CONFIG_ASS)
#include "ass.h"
#else
#include <ass/ass.h>