summaryrefslogtreecommitdiff
path: root/src/libxineadec
diff options
context:
space:
mode:
authorRobin KAY <komadori@users.sourceforge.net>2002-10-06 03:48:13 +0000
committerRobin KAY <komadori@users.sourceforge.net>2002-10-06 03:48:13 +0000
commit24ed40652239b8e3841803e473b31736b4d04bca (patch)
tree32858182f1bbd66458e4467608cdad8efe6a9b09 /src/libxineadec
parent08d0890139902ec1a227d2bd429585534fa6ff24 (diff)
downloadxine-lib-24ed40652239b8e3841803e473b31736b4d04bca.tar.gz
xine-lib-24ed40652239b8e3841803e473b31736b4d04bca.tar.bz2
Workaround for code generation bug in gcc on SPARC. Mike's endian macros now moved to bswap.h
CVS patchset: 2794 CVS date: 2002/10/06 03:48:13
Diffstat (limited to 'src/libxineadec')
-rw-r--r--src/libxineadec/adpcm.c7
-rw-r--r--src/libxineadec/roqaudio.c5
2 files changed, 2 insertions, 10 deletions
diff --git a/src/libxineadec/adpcm.c b/src/libxineadec/adpcm.c
index 1269f19ed..c72cc1f03 100644
--- a/src/libxineadec/adpcm.c
+++ b/src/libxineadec/adpcm.c
@@ -24,7 +24,7 @@
* formats can be found here:
* http://www.pcisys.net/~melanson/codecs/
*
- * $Id: adpcm.c,v 1.16 2002/09/13 03:03:42 tmmm Exp $
+ * $Id: adpcm.c,v 1.17 2002/10/06 03:48:13 komadori Exp $
*/
#include <stdio.h>
@@ -40,11 +40,6 @@
#include "xineutils.h"
#include "bswap.h"
-#define BE_16(x) (be2me_16(*(unsigned short *)(x)))
-#define BE_32(x) (be2me_32(*(unsigned int *)(x)))
-#define LE_16(x) (le2me_16(*(unsigned short *)(x)))
-#define LE_32(x) (le2me_32(*(unsigned int *)(x)))
-
/* pertinent tables */
static int ima_adpcm_step[89] = {
7, 8, 9, 10, 11, 12, 13, 14, 16, 17,
diff --git a/src/libxineadec/roqaudio.c b/src/libxineadec/roqaudio.c
index 59da90eb4..56c48ed95 100644
--- a/src/libxineadec/roqaudio.c
+++ b/src/libxineadec/roqaudio.c
@@ -21,7 +21,7 @@
* For more information regarding the RoQ file format, visit:
* http://www.csse.monash.edu.au/~timf/
*
- * $Id: roqaudio.c,v 1.7 2002/09/05 22:19:01 mroi Exp $
+ * $Id: roqaudio.c,v 1.8 2002/10/06 03:48:13 komadori Exp $
*
*/
@@ -43,9 +43,6 @@
#define AUDIOBUFSIZE 128*1024
-#define LE_16(x) (le2me_16(*(unsigned short *)(x)))
-#define LE_32(x) (le2me_32(*(unsigned int *)(x)))
-
#define CLAMP_S16(x) if (x < -32768) x = -32768; \
else if (x > 32767) x = 32767;
#define SE_16BIT(x) if (x & 0x8000) x -= 0x10000;