1
0
Fork 0
forked from len0rd/rockbox

Make a fix for the WMA seek to start bug that actually works...

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15170 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thom Johansen 2007-10-17 18:19:35 +00:00
parent a5f3b93c2b
commit 7113d11a1c

View file

@ -377,9 +377,11 @@ next_track:
if (ci->seek_time)
{
/* Ignore all seeks for now, unless for the start of the track */
ci->seek_complete();
if (ci->seek_time == 1)
if (ci->seek_time == 1) {
ci->seek_complete();
goto next_track; /* Pretend you never saw this... */
}
ci->seek_complete();
}
res = asf_read_packet(&audiobuf, &audiobufsize, &packetlength, &wfx);