summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_ogg.c
diff options
context:
space:
mode:
authorConrad Parker <conrad@users.sourceforge.net>2004-08-30 12:33:07 +0000
committerConrad Parker <conrad@users.sourceforge.net>2004-08-30 12:33:07 +0000
commit1c0343dcc2d3cb31b2a081c6c964c3e00fe2694e (patch)
tree2be669655a285b885ce22ab9e80c77be02b1de8f /src/demuxers/demux_ogg.c
parentdbfdc663be0a6f86f9708f21871b2bedfb5b7fdc (diff)
downloadxine-lib-1c0343dcc2d3cb31b2a081c6c964c3e00fe2694e.tar.gz
xine-lib-1c0343dcc2d3cb31b2a081c6c964c3e00fe2694e.tar.bz2
add support for speex headers in new location (eg. <speex/speex.h>) for
libspeex-1.1.x: - Retain compatability for <speex.h> etc. from libspeex-1.0.x - Also try speex via pkg-config, and fall back to old AM_PATH_SPEEX CVS patchset: 6920 CVS date: 2004/08/30 12:33:07
Diffstat (limited to 'src/demuxers/demux_ogg.c')
-rw-r--r--src/demuxers/demux_ogg.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/demuxers/demux_ogg.c b/src/demuxers/demux_ogg.c
index 4a19aa022..304142bc9 100644
--- a/src/demuxers/demux_ogg.c
+++ b/src/demuxers/demux_ogg.c
@@ -19,7 +19,7 @@
*/
/*
- * $Id: demux_ogg.c,v 1.151 2004/07/25 17:08:07 mroi Exp $
+ * $Id: demux_ogg.c,v 1.152 2004/08/30 12:33:07 conrad Exp $
*
* demultiplexer for ogg streams
*
@@ -43,11 +43,18 @@
#include <vorbis/codec.h>
#ifdef HAVE_SPEEX
+#ifdef HAVE_SPEEX_SUBDIR
+#include <speex/speex.h>
+#include <speex/speex_header.h>
+#include <speex/speex_stereo.h>
+#include <speex/speex_callbacks.h>
+#else
#include <speex.h>
#include <speex_header.h>
#include <speex_stereo.h>
#include <speex_callbacks.h>
#endif
+#endif
#ifdef HAVE_THEORA
#include <theora/theora.h>