diff options
Diffstat (limited to 'apps/codecs/liba52')
| -rw-r--r-- | apps/codecs/liba52/a52_internal.h | 2 | ||||
| -rw-r--r-- | apps/codecs/liba52/parse.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/liba52/a52_internal.h b/apps/codecs/liba52/a52_internal.h index 4de21d9..14e5795 100644 --- a/apps/codecs/liba52/a52_internal.h +++ b/apps/codecs/liba52/a52_internal.h @@ -141,7 +141,7 @@ typedef int16_t quantizer_t; #if 0 #define MUL(a,b) ((int)(((int64_t)(a) * (b) + (1 << 29)) >> 30)) #define MUL_L(a,b) ((int)(((int64_t)(a) * (b) + (1 << 25)) >> 26)) -#elif CONFIG_CPU==MCF5249 && !defined(SIMULATOR) +#elif defined(CPU_COLDFIRE) && !defined(SIMULATOR) /* loses 1 bit of accuracy */ #define MUL(a, b) \ ({ \ diff --git a/apps/codecs/liba52/parse.c b/apps/codecs/liba52/parse.c index 3025fb5..c06381b 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) a52_state_t * state; int i; - #if CONFIG_CPU==MCF5249 && !defined(SIMULATOR) + #ifdef CPU_COLDFIRE && !defined(SIMULATOR) asm volatile ("move.l #0x30, %macsr"); /* frac. mode with rounding */ #endif /* |