[Asterisk-cvs] asterisk/formats format_g726.c, 1.4,
1.4.2.1 format_g729.c, 1.12.2.1, 1.12.2.2 format_gsm.c, 1.17,
1.17.2.1 format_h263.c, 1.6, 1.6.2.1 format_ilbc.c, 1.5,
1.5.2.1 format_jpeg.c, 1.6, 1.6.2.1 format_pcm.c, 1.14,
1.14.2.1 format_pcm_alaw.c, 1.12, 1.12.2.1 format_sln.c,
1.1.2.1, 1.1.2.2 format_vox.c, 1.16, 1.16.2.1 format_wav.c,
1.18, 1.18.2.1 format_wav_gsm.c, 1.23.2.2, 1.23.2.3
russell at lists.digium.com
russell at lists.digium.com
Fri Jun 24 18:11:59 CDT 2005
Update of /usr/cvsroot/asterisk/formats
In directory mongoose.digium.com:/tmp/cvs-serv30619/formats
Modified Files:
Tag: v1-0
format_g726.c format_g729.c format_gsm.c format_h263.c
format_ilbc.c format_jpeg.c format_pcm.c format_pcm_alaw.c
format_sln.c format_vox.c format_wav.c format_wav_gsm.c
Log Message:
merge endian.h (bug #3867)
Index: format_g726.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_g726.c,v
retrieving revision 1.4
retrieving revision 1.4.2.1
diff -u -d -r1.4 -r1.4.2.1
--- format_g726.c 22 Jun 2004 18:49:00 -0000 1.4
+++ format_g726.c 24 Jun 2005 22:12:25 -0000 1.4.2.1
@@ -24,11 +24,7 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#ifdef __linux__
-#include <endian.h>
-#else
-#include <machine/endian.h>
-#endif
+#include "asterisk/endian.h"
#define RATE_40 0
#define RATE_32 1
Index: format_g729.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_g729.c,v
retrieving revision 1.12.2.1
retrieving revision 1.12.2.2
diff -u -d -r1.12.2.1 -r1.12.2.2
--- format_g729.c 7 Feb 2005 04:29:19 -0000 1.12.2.1
+++ format_g729.c 24 Jun 2005 22:12:25 -0000 1.12.2.2
@@ -25,11 +25,7 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#ifdef __linux__
-#include <endian.h>
-#else
-#include <machine/endian.h>
-#endif
+#include "asterisk/endian.h"
/* Some Ideas for this code came from makeg729e.c by Jeffrey Chilton */
Index: format_gsm.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_gsm.c,v
retrieving revision 1.17
retrieving revision 1.17.2.1
diff -u -d -r1.17 -r1.17.2.1
--- format_gsm.c 22 Jun 2004 18:49:00 -0000 1.17
+++ format_gsm.c 24 Jun 2005 22:12:25 -0000 1.17.2.1
@@ -25,11 +25,7 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#ifdef __linux__
-#include <endian.h>
-#else
-#include <machine/endian.h>
-#endif
+#include "asterisk/endian.h"
#include "msgsm.h"
/* Some Ideas for this code came from makegsme.c by Jeffrey Chilton */
Index: format_h263.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_h263.c,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -d -r1.6 -r1.6.2.1
--- format_h263.c 22 Jun 2004 18:49:00 -0000 1.6
+++ format_h263.c 24 Jun 2005 22:12:25 -0000 1.6.2.1
@@ -25,11 +25,7 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#ifdef __linux__
-#include <endian.h>
-#else
-#include <machine/endian.h>
-#endif
+#include "asterisk/endian.h"
/* Some Ideas for this code came from makeh263e.c by Jeffrey Chilton */
Index: format_ilbc.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_ilbc.c,v
retrieving revision 1.5
retrieving revision 1.5.2.1
diff -u -d -r1.5 -r1.5.2.1
--- format_ilbc.c 22 Jun 2004 18:49:00 -0000 1.5
+++ format_ilbc.c 24 Jun 2005 22:12:25 -0000 1.5.2.1
@@ -27,11 +27,7 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#ifdef __linux__
-#include <endian.h>
-#else
-#include <machine/endian.h>
-#endif
+#include "asterisk/endian.h"
/* Some Ideas for this code came from makeg729e.c by Jeffrey Chilton */
Index: format_jpeg.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_jpeg.c,v
retrieving revision 1.6
retrieving revision 1.6.2.1
diff -u -d -r1.6 -r1.6.2.1
--- format_jpeg.c 22 Jun 2004 18:49:00 -0000 1.6
+++ format_jpeg.c 24 Jun 2005 22:12:25 -0000 1.6.2.1
@@ -27,11 +27,7 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#ifdef __linux__
-#include <endian.h>
-#else
-#include <machine/endian.h>
-#endif
+#include "asterisk/endian.h"
static char *desc = "JPEG (Joint Picture Experts Group) Image Format";
Index: format_pcm.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_pcm.c,v
retrieving revision 1.14
retrieving revision 1.14.2.1
diff -u -d -r1.14 -r1.14.2.1
--- format_pcm.c 25 Aug 2004 18:30:51 -0000 1.14
+++ format_pcm.c 24 Jun 2005 22:12:25 -0000 1.14.2.1
@@ -25,11 +25,7 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#ifdef __linux__
-#include <endian.h>
-#else
-#include <machine/endian.h>
-#endif
+#include "asterisk/endian.h"
#define BUF_SIZE 160 /* 160 samples */
Index: format_pcm_alaw.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_pcm_alaw.c,v
retrieving revision 1.12
retrieving revision 1.12.2.1
diff -u -d -r1.12 -r1.12.2.1
--- format_pcm_alaw.c 22 Jun 2004 18:49:00 -0000 1.12
+++ format_pcm_alaw.c 24 Jun 2005 22:12:25 -0000 1.12.2.1
@@ -27,11 +27,7 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#ifdef __linux__
-#include <endian.h>
-#else
-#include <machine/endian.h>
-#endif
+#include "asterisk/endian.h"
#define BUF_SIZE 160 /* 160 samples */
Index: format_sln.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_sln.c,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- format_sln.c 14 Jun 2005 20:49:33 -0000 1.1.2.1
+++ format_sln.c 24 Jun 2005 22:12:25 -0000 1.1.2.2
@@ -23,11 +23,7 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#ifdef __linux__
-#include <endian.h>
-#else
-#include <machine/endian.h>
-#endif
+#include "asterisk/endian.h"
#define BUF_SIZE 320 /* 320 samples */
Index: format_vox.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_vox.c,v
retrieving revision 1.16
retrieving revision 1.16.2.1
diff -u -d -r1.16 -r1.16.2.1
--- format_vox.c 22 Jun 2004 18:49:00 -0000 1.16
+++ format_vox.c 24 Jun 2005 22:12:25 -0000 1.16.2.1
@@ -25,11 +25,7 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#ifdef __linux__
-#include <endian.h>
-#else
-#include <machine/endian.h>
-#endif
+#include "asterisk/endian.h"
#define BUF_SIZE 80 /* 160 samples */
Index: format_wav.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_wav.c,v
retrieving revision 1.18
retrieving revision 1.18.2.1
diff -u -d -r1.18 -r1.18.2.1
--- format_wav.c 22 Jun 2004 18:49:00 -0000 1.18
+++ format_wav.c 24 Jun 2005 22:12:25 -0000 1.18.2.1
@@ -25,11 +25,8 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#ifdef __linux__
-#include <endian.h>
-#else
-#include <machine/endian.h>
-#endif
+#include "asterisk/endian.h"
+
/* Some Ideas for this code came from makewave.c by Jeffrey Chilton */
Index: format_wav_gsm.c
===================================================================
RCS file: /usr/cvsroot/asterisk/formats/format_wav_gsm.c,v
retrieving revision 1.23.2.2
retrieving revision 1.23.2.3
diff -u -d -r1.23.2.2 -r1.23.2.3
--- format_wav_gsm.c 1 Apr 2005 03:23:33 -0000 1.23.2.2
+++ format_wav_gsm.c 24 Jun 2005 22:12:25 -0000 1.23.2.3
@@ -25,11 +25,7 @@
#include <unistd.h>
#include <errno.h>
#include <string.h>
-#ifdef __linux__
-#include <endian.h>
-#else
-#include <machine/endian.h>
-#endif
+#include "asterisk/endian.h"
#include "msgsm.h"
/* Some Ideas for this code came from makewave.c by Jeffrey Chilton */
More information about the svn-commits
mailing list