diff options
author | Thom Johansen <thomj@rockbox.org> | 2005-11-01 23:27:41 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2005-11-01 23:27:41 +0000 |
commit | 0b19487898b779b60de8f07ff1a52ef515b8d072 (patch) | |
tree | 4fb00dc8759bab00ae56c5552e01eabff2e02e73 /apps/codecs | |
parent | 60d8db4503878500dd8b78b1a3b7d2b9c903c16f (diff) |
Init EMAC properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7715 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs')
-rw-r--r-- | apps/codecs/libfaad/decoder.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/codecs/libfaad/decoder.c b/apps/codecs/libfaad/decoder.c index 1c8fbd90a1..a86b6dde8b 100644 --- a/apps/codecs/libfaad/decoder.c +++ b/apps/codecs/libfaad/decoder.c @@ -318,6 +318,10 @@ int8_t NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, uint8_t *pBuffer, hDecoder->adif_header_present = 0; hDecoder->adts_header_present = 0; + #if defined(CPU_COLDFIRE) && !defined(SIMULATOR) + coldfire_set_macsr(EMAC_FRACTIONAL | EMAC_SATURATE); + #endif + /* decode the audio specific config */ rc = AudioSpecificConfig2(pBuffer, SizeOfDecoderSpecificInfo, &mp4ASC, &(hDecoder->pce)); |