From ccf74d4df71f3bf96dcd403fa4ad22d353a63c2f Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 23 Jul 2002 20:55:09 +0000 Subject: Second attempt to get rid of the CPUAdr errors git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1422 a1c6a512-1295-4272-9138-f99709370657 --- firmware/mpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/mpeg.c') diff --git a/firmware/mpeg.c b/firmware/mpeg.c index 7966625f72..3ca605b365 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c @@ -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) -- cgit v1.2.3