diff options
author | Hardeep Sidhu <dyp@pobox.com> | 2002-08-26 03:30:31 +0000 |
---|---|---|
committer | Hardeep Sidhu <dyp@pobox.com> | 2002-08-26 03:30:31 +0000 |
commit | f9914b77d4d5f50198baef8647a8816a9c43b36c (patch) | |
tree | 04953e6308be6b6c00a7625da460d03866accb03 | |
parent | 2bf41efe31de66b604e3432829b973bb774ce9f6 (diff) | |
download | rockbox-f9914b77d4d5f50198baef8647a8816a9c43b36c.tar.gz rockbox-f9914b77d4d5f50198baef8647a8816a9c43b36c.zip |
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
-rw-r--r-- | firmware/mpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/mpeg.c b/firmware/mpeg.c index d19cdf65e4..8e9b008e11 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c | |||
@@ -943,7 +943,7 @@ static void mpeg_thread(void) | |||
943 | 943 | ||
944 | diffpos = curpos - newpos; | 944 | diffpos = curpos - newpos; |
945 | 945 | ||
946 | if(diffpos >= 0 && diffpos < mp3buflen) | 946 | if(!filling && diffpos >= 0 && diffpos < mp3buflen) |
947 | { | 947 | { |
948 | /* We are changing to a position that's already in | 948 | /* We are changing to a position that's already in |
949 | memory */ | 949 | memory */ |