The mpeg player could miss the last byte of a song

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@887 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2002-06-04 14:00:30 +00:00
parent aaea587b5d
commit 0dc44b08f4

View file

@ -410,7 +410,7 @@ static void mpeg_thread(void)
/* Make sure that the write pointer is at a word
boundary */
mp3buf_write &= 0xfffffffe;
mp3buf_write = (mp3buf_write + 1) & 0xfffffffe;
if(new_file() < 0)
{