diff options
author | Brandon Low <lostlogic@rockbox.org> | 2007-11-05 18:16:13 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2007-11-05 18:16:13 +0000 |
commit | b46175c20207ea96dbccee5b939948741bb635ef (patch) | |
tree | 4f7f241c6b9089544a88741088e0e356220e7312 /apps/codecs/shorten.c | |
parent | 3f69930aa0439ffe4183f6aacb3f4754bf225c30 (diff) | |
download | rockbox-b46175c20207ea96dbccee5b939948741bb635ef.tar.gz rockbox-b46175c20207ea96dbccee5b939948741bb635ef.zip |
Don't if this, it's a good idea for codecs to explicit seek
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15482 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/shorten.c')
-rw-r--r-- | apps/codecs/shorten.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/codecs/shorten.c b/apps/codecs/shorten.c index 82345e0af7..9081ff295f 100644 --- a/apps/codecs/shorten.c +++ b/apps/codecs/shorten.c | |||
@@ -66,9 +66,7 @@ next_track: | |||
66 | ci->memset(&sc, 0, sizeof(ShortenContext)); | 66 | ci->memset(&sc, 0, sizeof(ShortenContext)); |
67 | 67 | ||
68 | /* Skip id3v2 tags */ | 68 | /* Skip id3v2 tags */ |
69 | if (ci->id3->first_frame_offset) { | 69 | ci->seek_buffer(ci->id3->first_frame_offset); |
70 | ci->seek_buffer(ci->id3->first_frame_offset); | ||
71 | } | ||
72 | 70 | ||
73 | /* Read the shorten & wave headers */ | 71 | /* Read the shorten & wave headers */ |
74 | buf = ci->request_buffer(&bytesleft, MAX_HEADER_SIZE); | 72 | buf = ci->request_buffer(&bytesleft, MAX_HEADER_SIZE); |