From 1c0343dcc2d3cb31b2a081c6c964c3e00fe2694e Mon Sep 17 00:00:00 2001 From: Conrad Parker Date: Mon, 30 Aug 2004 12:33:07 +0000 Subject: add support for speex headers in new location (eg. ) for libspeex-1.1.x: - Retain compatability for 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 --- src/demuxers/demux_ogg.c | 9 ++++++++- src/libspeex/xine_decoder.c | 10 +++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'src') 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 #ifdef HAVE_SPEEX +#ifdef HAVE_SPEEX_SUBDIR +#include +#include +#include +#include +#else #include #include #include #include #endif +#endif #ifdef HAVE_THEORA #include diff --git a/src/libspeex/xine_decoder.c b/src/libspeex/xine_decoder.c index 4092d8dfe..4a2eae746 100644 --- a/src/libspeex/xine_decoder.c +++ b/src/libspeex/xine_decoder.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_decoder.c,v 1.11 2004/01/12 17:35:17 miguelfreitas Exp $ + * $Id: xine_decoder.c,v 1.12 2004/08/30 12:33:08 conrad Exp $ * * (ogg/)speex audio decoder plugin (libspeex wrapper) for xine */ @@ -40,10 +40,18 @@ #include "buffer.h" #include + +#ifndef HAVE_SPEEX_SUBDIR #include #include #include #include +#else +#include +#include +#include +#include +#endif #define MAX_FRAME_SIZE 2000 -- cgit v1.2.3