forked from len0rd/rockbox
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:
parent
aaea587b5d
commit
0dc44b08f4
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,7 @@ static void mpeg_thread(void)
|
||||||
|
|
||||||
/* Make sure that the write pointer is at a word
|
/* Make sure that the write pointer is at a word
|
||||||
boundary */
|
boundary */
|
||||||
mp3buf_write &= 0xfffffffe;
|
mp3buf_write = (mp3buf_write + 1) & 0xfffffffe;
|
||||||
|
|
||||||
if(new_file() < 0)
|
if(new_file() < 0)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue