summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-10-08 08:02:58 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-10-08 08:02:58 +0000
commit6ce6d468ddda5f83929f3e069493babd8dedd3e0 (patch)
tree8b00aaf98af331c1800f26e2913f633d86537424
parent03c13a1a3bcf627bd0a058f331cff8d52a699c5d (diff)
downloadrockbox-6ce6d468ddda5f83929f3e069493babd8dedd3e0.tar.gz
rockbox-6ce6d468ddda5f83929f3e069493babd8dedd3e0.tar.bz2
rockbox-6ce6d468ddda5f83929f3e069493babd8dedd3e0.zip
Removed some more rounding of addresses
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2520 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/mpeg.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c
index 2a5651ed61..83bd613722 100644
--- a/firmware/mpeg.c
+++ b/firmware/mpeg.c
@@ -1315,8 +1315,7 @@ static void mpeg_thread(void)
inside the tag must be taken care of */
if(len < 0)
len = 0;
- len = (len + 1) & 0xfffffffe;
- }
+ }
mp3buf_write += len;
@@ -1339,10 +1338,6 @@ static void mpeg_thread(void)
close(mpeg_file);
mpeg_file = -1;
- /* Make sure that the write pointer is at a word
- boundary */
- mp3buf_write = (mp3buf_write + 1) & 0xfffffffe;
-
if(new_file(1) < 0)
{
/* No more data to play */