[libbluray-devel] Fix build without freetype support.

ace20022 git at videolan.org
Wed Mar 25 10:06:47 CET 2015


libbluray | branch: master | ace20022 <ace20022 at ymail.com> | Tue Mar 24 16:38:57 2015 +0100| [c7dee2830c1bc2822d258570cf66682a575497f6] | committer: hpi1

Fix build without freetype support.

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=c7dee2830c1bc2822d258570cf66682a575497f6
---

 src/libbluray/decoders/textst_render.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/libbluray/decoders/textst_render.c b/src/libbluray/decoders/textst_render.c
index d90e787..3cbd66d 100644
--- a/src/libbluray/decoders/textst_render.c
+++ b/src/libbluray/decoders/textst_render.c
@@ -47,8 +47,10 @@
  */
 
 typedef struct {
+#ifdef HAVE_FT2
   FT_Face  face;
   void    *mem;
+#endif
 } FONT_DATA;
 
 struct textst_render {



More information about the libbluray-devel mailing list