aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-10-16 21:11:29 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-10-16 21:11:29 +0000
commitfb06154326720e90c5cee4f3dd1d0ff57a34f5b3 (patch)
treecc2f2933e7a795828dc45967623934d3a58b9973 /codecs
parent8b42787b24549191ee7af71210b0d3ac9183a80c (diff)
Revert the previous patch since it's braking compilation
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1636 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-rwxr-xr-xcodecs/Makefile4
-rwxr-xr-xcodecs/lpc10/lpcini.c50
-rwxr-xr-xcodecs/mp3/include/L3.h7
3 files changed, 26 insertions, 35 deletions
diff --git a/codecs/Makefile b/codecs/Makefile
index c6bfbe97d..ac812972c 100755
--- a/codecs/Makefile
+++ b/codecs/Makefile
@@ -22,7 +22,6 @@ MODG723+=$(shell [ -f g723.1b/coder2.c ] && echo "codec_g723_1b.so")
MODSPEEX=$(shell [ -f /usr/include/speex.h ] || [ -f /usr/local/include/speex.h ] && echo "codec_speex.so")
MODILBC=$(shell [ -f ilbc/iLBC_decode.h ] && echo "codec_ilbc.so")
CFLAGS+=-fPIC
-CFLAGS+=$(shell [ -f /usr/local/include/speex.h ] && echo "-I/usr/local/include")
LIBG723=g723.1/libg723.a
LIBG723B=g723.1b/libg723b.a
@@ -31,8 +30,7 @@ LIBGSM=$(shell if uname -m | grep -q 86; then echo gsm/lib/libgsm.a; else echo "
LIBGSMT=$(shell if uname -m | grep -q 86; then echo gsm/lib/libgsm.a; fi)
LIBMP3=mp3/libmp3.a
LIBLPC10=lpc10/liblpc10.a
-LIBSPEEX=$(shell [ -f /usr/local/lib/libspeex.a ] && echo "-L/usr/local/lib")
-LIBSPEEX+=-lspeex -lm
+LIBSPEEX=-lspeex -lm
LIBILBC=ilbc/libilbc.a
CODECS+=$(MODG723) $(MODSPEEX) $(MODILBC) codec_gsm.so codec_mp3_d.so codec_lpc10.so \
diff --git a/codecs/lpc10/lpcini.c b/codecs/lpc10/lpcini.c
index e39f07750..75e9ff2af 100755
--- a/codecs/lpc10/lpcini.c
+++ b/codecs/lpc10/lpcini.c
@@ -1,14 +1,14 @@
/*
$Log$
-Revision 1.15 2003/10/16 10:44:04 markster
-Sane FreeBSD patch
+Revision 1.16 2003/10/16 21:11:29 martinp
+Revert the previous patch since it's braking compilation
-Revision 1.2 2003/10/16 10:44:04 markster
-Sane FreeBSD patch
+Revision 1.3 2003/10/16 21:11:30 martinp
+Revert the previous patch since it's braking compilation
-Revision 1.1.1.1 2003/02/12 13:59:15 matteo
-mer feb 12 14:56:57 CET 2003
+Revision 1.1 2003/02/12 13:59:15 matteo
+Initial revision
Revision 1.2 2000/01/05 08:20:39 markster
Some OSS fixes and a few lpc changes to make it actually work
@@ -37,7 +37,7 @@ extern int lpcini_(void);
#include "f2c.h"
-#include <stdlib.h>
+#include <malloc.h>
/* Common Block Declarations */
@@ -51,14 +51,14 @@ struct {
/* ***************************************************************** */
/* $Log$
- * Revision 1.15 2003/10/16 10:44:04 markster
- * Sane FreeBSD patch
+ * Revision 1.16 2003/10/16 21:11:29 martinp
+ * Revert the previous patch since it's braking compilation
*
-/* Revision 1.2 2003/10/16 10:44:04 markster
-/* Sane FreeBSD patch
+/* Revision 1.3 2003/10/16 21:11:30 martinp
+/* Revert the previous patch since it's braking compilation
/*
-/* Revision 1.1.1.1 2003/02/12 13:59:15 matteo
-/* mer feb 12 14:56:57 CET 2003
+/* Revision 1.1 2003/02/12 13:59:15 matteo
+/* Initial revision
/*
/* Revision 1.2 2000/01/05 08:20:39 markster
/* Some OSS fixes and a few lpc changes to make it actually work
@@ -83,14 +83,14 @@ struct {
{
/* $Log$
- * Revision 1.15 2003/10/16 10:44:04 markster
- * Sane FreeBSD patch
+ * Revision 1.16 2003/10/16 21:11:29 martinp
+ * Revert the previous patch since it's braking compilation
*
-/* Revision 1.2 2003/10/16 10:44:04 markster
-/* Sane FreeBSD patch
+/* Revision 1.3 2003/10/16 21:11:30 martinp
+/* Revert the previous patch since it's braking compilation
/*
-/* Revision 1.1.1.1 2003/02/12 13:59:15 matteo
-/* mer feb 12 14:56:57 CET 2003
+/* Revision 1.1 2003/02/12 13:59:15 matteo
+/* Initial revision
/*
/* Revision 1.2 2000/01/05 08:20:39 markster
/* Some OSS fixes and a few lpc changes to make it actually work
@@ -115,14 +115,14 @@ struct {
/* LPC Configuration parameters: */
/* Frame size, Prediction order, Pitch period */
/* $Log$
- * Revision 1.15 2003/10/16 10:44:04 markster
- * Sane FreeBSD patch
+ * Revision 1.16 2003/10/16 21:11:29 martinp
+ * Revert the previous patch since it's braking compilation
*
-/* Revision 1.2 2003/10/16 10:44:04 markster
-/* Sane FreeBSD patch
+/* Revision 1.3 2003/10/16 21:11:30 martinp
+/* Revert the previous patch since it's braking compilation
/*
-/* Revision 1.1.1.1 2003/02/12 13:59:15 matteo
-/* mer feb 12 14:56:57 CET 2003
+/* Revision 1.1 2003/02/12 13:59:15 matteo
+/* Initial revision
/*
/* Revision 1.2 2000/01/05 08:20:39 markster
/* Some OSS fixes and a few lpc changes to make it actually work
diff --git a/codecs/mp3/include/L3.h b/codecs/mp3/include/L3.h
index 337a721fb..e920afd94 100755
--- a/codecs/mp3/include/L3.h
+++ b/codecs/mp3/include/L3.h
@@ -37,13 +37,6 @@ ____________________________________________________________________________*/
/* #define GLOBAL_GAIN_SCALE 0 */
-#ifdef __FreeBSD__
-#ifdef __i386__
-#undef LITTLE_ENDIAN
-#define LITTLE_ENDIAN 1
-#endif
-#endif
-
#ifdef _M_IX86
#define LITTLE_ENDIAN 1
#endif