From 6960cf68d485d61bf2383d7029ab232eb6313606 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Sun, 29 May 2005 00:47:48 +0000 Subject: added --with-external-a52dec and --with-external-libmad switches thanks Diego 'Flameeyes' Petten CVS patchset: 7589 CVS date: 2005/05/29 00:47:48 --- src/liba52/xine_decoder.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'src/liba52/xine_decoder.c') diff --git a/src/liba52/xine_decoder.c b/src/liba52/xine_decoder.c index 74998e50e..3b5018268 100644 --- a/src/liba52/xine_decoder.c +++ b/src/liba52/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.75 2005/05/28 11:24:35 jstembridge Exp $ + * $Id: xine_decoder.c,v 1.76 2005/05/29 00:47:48 miguelfreitas Exp $ * * stuff needed to turn liba52 into a xine decoder plugin */ @@ -29,6 +29,8 @@ /* avoid compiler warnings */ #define _BSD_SOURCE 1 +#include + #include #include #include @@ -46,8 +48,19 @@ #include "xine_internal.h" #include "audio_out.h" -#include "a52.h" -#include "a52_internal.h" + +#ifdef HAVE_A52DEC_A52_H +# include +#else +# include "a52.h" +#endif + +#ifdef HAVE_A52DEC_A52_INTERNAL_H +# include +#else +# include "a52_internal.h" +#endif + #include "buffer.h" #include "xineutils.h" -- cgit v1.2.3