mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-15 11:07:38 -04:00
Don't seek in buffer if data is being loaded. This fixes the track silence when ffw/rew while data is being loaded.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1973 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2bf41efe31
commit
f9914b77d4
1 changed files with 1 additions and 1 deletions
|
@ -943,7 +943,7 @@ static void mpeg_thread(void)
|
|||
|
||||
diffpos = curpos - newpos;
|
||||
|
||||
if(diffpos >= 0 && diffpos < mp3buflen)
|
||||
if(!filling && diffpos >= 0 && diffpos < mp3buflen)
|
||||
{
|
||||
/* We are changing to a position that's already in
|
||||
memory */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue