diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/demuxers/demux_ogg.c | 9 | ||||
-rw-r--r-- | src/libspeex/xine_decoder.c | 10 |
2 files changed, 17 insertions, 2 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> 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 <ogg/ogg.h> + +#ifndef HAVE_SPEEX_SUBDIR #include <speex.h> #include <speex_header.h> #include <speex_callbacks.h> #include <speex_stereo.h> +#else +#include <speex/speex.h> +#include <speex/speex_header.h> +#include <speex/speex_callbacks.h> +#include <speex/speex_stereo.h> +#endif #define MAX_FRAME_SIZE 2000 |