diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-07-23 20:55:09 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-07-23 20:55:09 +0000 |
commit | ccf74d4df71f3bf96dcd403fa4ad22d353a63c2f (patch) | |
tree | 839fd9a4703fb497447c5f0f24d56657cf236810 /firmware/mpeg.c | |
parent | d9e13762e6437654522a2e03ad2f0e2a14764065 (diff) |
Second attempt to get rid of the CPUAdr errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1422 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/mpeg.c')
-rw-r--r-- | firmware/mpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |