summaryrefslogtreecommitdiff
path: root/src/libxineadec/adpcm.c
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/adpcm.c
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/adpcm.c')
-rw-r--r--src/libxineadec/adpcm.c7
1 files changed, 1 insertions, 6 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,