summaryrefslogtreecommitdiff
path: root/apps/codecs/libwmapro/libavutil/bswap.h
diff options
context:
space:
mode:
authorMohamed Tarek <mt@rockbox.org>2010-07-14 19:37:52 +0000
committerMohamed Tarek <mt@rockbox.org>2010-07-14 19:37:52 +0000
commitd63abfc7eb7db5eb36b325198fbb6ceaf8778685 (patch)
treedc9496f504711569180fd9c5a91cf6e748815869 /apps/codecs/libwmapro/libavutil/bswap.h
parent16284ae8aef30ec67d7fd9c34519bce17d64ab3a (diff)
Add WMA Pro to the main build. WMA Pro now plays on target and decodes in 151% realtime in a 320kbps sample on a sansa e200. Lots of cleanup still need to be done, and optimisations should start soon too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27417 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/libwmapro/libavutil/bswap.h')
-rw-r--r--apps/codecs/libwmapro/libavutil/bswap.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/apps/codecs/libwmapro/libavutil/bswap.h b/apps/codecs/libwmapro/libavutil/bswap.h
index 5743e126b8..e15501778b 100644
--- a/apps/codecs/libwmapro/libavutil/bswap.h
+++ b/apps/codecs/libwmapro/libavutil/bswap.h
@@ -30,18 +30,6 @@
//#include "config.h"
#include "attributes.h"
-#if ARCH_ARM
-# include "arm/bswap.h"
-#elif ARCH_AVR32
-# include "avr32/bswap.h"
-#elif ARCH_BFIN
-# include "bfin/bswap.h"
-#elif ARCH_SH4
-# include "sh4/bswap.h"
-#elif ARCH_X86
-# include "x86/bswap.h"
-#endif
-
#ifndef bswap_16
static av_always_inline av_const uint16_t bswap_16(uint16_t x)
{
@@ -82,6 +70,7 @@ static inline uint64_t av_const bswap_64(uint64_t x)
// be2me ... big-endian to machine-endian
// le2me ... little-endian to machine-endian
+#define HAVE_BIGENDIAN 0
#if HAVE_BIGENDIAN
#define be2me_16(x) (x)
#define be2me_32(x) (x)