summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2007-11-05 18:16:13 +0000
committerBrandon Low <lostlogic@rockbox.org>2007-11-05 18:16:13 +0000
commitb46175c20207ea96dbccee5b939948741bb635ef (patch)
tree4f7f241c6b9089544a88741088e0e356220e7312 /apps
parent3f69930aa0439ffe4183f6aacb3f4754bf225c30 (diff)
downloadrockbox-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')
-rw-r--r--apps/codecs/shorten.c4
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:
ci->memset(&sc, 0, sizeof(ShortenContext));
/* Skip id3v2 tags */
- if (ci->id3->first_frame_offset) {
- ci->seek_buffer(ci->id3->first_frame_offset);
- }
+ ci->seek_buffer(ci->id3->first_frame_offset);
/* Read the shorten & wave headers */
buf = ci->request_buffer(&bytesleft, MAX_HEADER_SIZE);