summaryrefslogtreecommitdiff
path: root/apps/codecs/liba52
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/liba52')
-rw-r--r--apps/codecs/liba52/a52_internal.h2
-rw-r--r--apps/codecs/liba52/parse.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/liba52/a52_internal.h b/apps/codecs/liba52/a52_internal.h
index 4de21d9dde..14e5795146 100644
--- a/apps/codecs/liba52/a52_internal.h
+++ b/apps/codecs/liba52/a52_internal.h
@@ -141,7 +141,7 @@ typedef int16_t quantizer_t;
141#if 0 141#if 0
142#define MUL(a,b) ((int)(((int64_t)(a) * (b) + (1 << 29)) >> 30)) 142#define MUL(a,b) ((int)(((int64_t)(a) * (b) + (1 << 29)) >> 30))
143#define MUL_L(a,b) ((int)(((int64_t)(a) * (b) + (1 << 25)) >> 26)) 143#define MUL_L(a,b) ((int)(((int64_t)(a) * (b) + (1 << 25)) >> 26))
144#elif CONFIG_CPU==MCF5249 && !defined(SIMULATOR) 144#elif defined(CPU_COLDFIRE) && !defined(SIMULATOR)
145/* loses 1 bit of accuracy */ 145/* loses 1 bit of accuracy */
146#define MUL(a, b) \ 146#define MUL(a, b) \
147({ \ 147({ \
diff --git a/apps/codecs/liba52/parse.c b/apps/codecs/liba52/parse.c
index 3025fb54b6..c06381be9e 100644
--- a/apps/codecs/liba52/parse.c
+++ b/apps/codecs/liba52/parse.c
@@ -58,7 +58,7 @@ a52_state_t * a52_init (uint32_t mm_accel)
58 a52_state_t * state; 58 a52_state_t * state;
59 int i; 59 int i;
60 60
61 #if CONFIG_CPU==MCF5249 && !defined(SIMULATOR) 61 #ifdef CPU_COLDFIRE && !defined(SIMULATOR)
62 asm volatile ("move.l #0x30, %macsr"); /* frac. mode with rounding */ 62 asm volatile ("move.l #0x30, %macsr"); /* frac. mode with rounding */
63 #endif 63 #endif
64 /* 64 /*