summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs')
-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 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);