1
0
Fork 0
forked from len0rd/rockbox

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:
Hardeep Sidhu 2002-08-26 03:30:31 +00:00
parent 2bf41efe31
commit f9914b77d4

View file

@ -943,7 +943,7 @@ static void mpeg_thread(void)
diffpos = curpos - newpos; diffpos = curpos - newpos;
if(diffpos >= 0 && diffpos < mp3buflen) if(!filling && diffpos >= 0 && diffpos < mp3buflen)
{ {
/* We are changing to a position that's already in /* We are changing to a position that's already in
memory */ memory */