Init EMAC properly.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7715 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thom Johansen 2005-11-01 23:27:41 +00:00
parent 60d8db4503
commit 0b19487898

View file

@ -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));