1
0
Fork 0
forked from len0rd/rockbox

Second attempt to get rid of the CPUAdr errors

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1422 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-07-23 20:55:09 +00:00
parent d9e13762e6
commit ccf74d4df7

View file

@ -738,7 +738,7 @@ static void mpeg_thread(void)
/* Make sure that the write pointer is at a word
boundary when we reach the end of the file */
if(len < amount_to_read)
mp3buf_write = (mp3buf_write + 1) & 0xfffffffe;
len = (len + 1) & 0xfffffffe;
mp3buf_write += len;
if(mp3buf_write >= mp3buflen)