From 6ce6d468ddda5f83929f3e069493babd8dedd3e0 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Tue, 8 Oct 2002 08:02:58 +0000 Subject: Removed some more rounding of addresses git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2520 a1c6a512-1295-4272-9138-f99709370657 --- firmware/mpeg.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'firmware') 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 */ -- cgit v1.2.3