mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-15 08:02:34 -05:00
Additional fix for seeking beyond the current buffered data
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10243 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7ab1d9bbac
commit
50f7e4e083
1 changed files with 1 additions and 0 deletions
|
|
@ -1079,6 +1079,7 @@ static void rebuffer_and_seek(size_t newpos)
|
|||
buf_ridx += AUDIO_REBUFFER_GUESS_SIZE;
|
||||
cur_ti->start_pos = newpos - AUDIO_REBUFFER_GUESS_SIZE;
|
||||
} else {
|
||||
buf_ridx += newpos;
|
||||
cur_ti->start_pos = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue