Fix FS#11586. Corrects rebuffering behaviour which did not allow to play several m4a files. Thanks to Magnus Holmgren.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27950 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2010-08-30 22:35:32 +00:00
parent ce0d2b1d47
commit 9c00d1a643

View file

@ -779,7 +779,7 @@ static void rebuffer_handle(int handle_id, size_t newpos)
{
LOGFQUEUE("buffering >| Q_BUFFER_HANDLE %d", handle_id);
queue_send(&buffering_queue, Q_BUFFER_HANDLE, handle_id);
h->ridx = h->data + newpos;
h->ridx = ringbuf_add(h->data, newpos - h->offset);
return;
}