summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2007-10-17 18:19:35 +0000
committerThom Johansen <thomj@rockbox.org>2007-10-17 18:19:35 +0000
commit7113d11a1cb244fc9dac9328a93086c856091f47 (patch)
treea165ce920d9c2d24dcd7985fa8107ac6f313b0a2
parenta5f3b93c2bad00e32042050ebe00038aad02b2c2 (diff)
downloadrockbox-7113d11a1cb244fc9dac9328a93086c856091f47.tar.gz
rockbox-7113d11a1cb244fc9dac9328a93086c856091f47.zip
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
-rw-r--r--apps/codecs/wma.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/codecs/wma.c b/apps/codecs/wma.c
index f50b023a92..c29386482c 100644
--- a/apps/codecs/wma.c
+++ b/apps/codecs/wma.c
@@ -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);