From 7113d11a1cb244fc9dac9328a93086c856091f47 Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Wed, 17 Oct 2007 18:19:35 +0000 Subject: 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 --- apps/codecs/wma.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/codecs/wma.c b/apps/codecs/wma.c index f50b023..c293864 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); -- cgit v1.1