summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/playback.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/playback.c b/apps/playback.c
index e029a12..41f4355 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -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;
}