summaryrefslogtreecommitdiff
path: root/src/libfaad/xine_faad_decoder.c
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2008-08-13 14:31:51 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2008-08-13 14:31:51 +0100
commit065ab726cb977220dd65f398fa5e3543ad657ed4 (patch)
tree87d33a2559af5277f6d6dc7c1e5ca154daa7425d /src/libfaad/xine_faad_decoder.c
parent5a02b8117044e4ba6be61d21e069fc2fbfc2fa23 (diff)
downloadxine-lib-065ab726cb977220dd65f398fa5e3543ad657ed4.tar.gz
xine-lib-065ab726cb977220dd65f398fa5e3543ad657ed4.tar.bz2
Allow (and prefer) use of external libfaad.
Diffstat (limited to 'src/libfaad/xine_faad_decoder.c')
-rw-r--r--src/libfaad/xine_faad_decoder.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libfaad/xine_faad_decoder.c b/src/libfaad/xine_faad_decoder.c
index 6f86d95fd..ae71af155 100644
--- a/src/libfaad/xine_faad_decoder.c
+++ b/src/libfaad/xine_faad_decoder.c
@@ -35,10 +35,14 @@
#include "audio_out.h"
#include "buffer.h"
#include "xineutils.h"
+#ifdef HAVE_FAAD_H
+#include <faad.h>
+#else
#include "common.h"
#include "structs.h"
#include "decoder.h"
#include "syntax.h"
+#endif
#define FAAD_MIN_STREAMSIZE 768 /* 6144 bits/channel */