diff options
author | Brandon Low <lostlogic@rockbox.org> | 2007-11-05 01:56:12 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2007-11-05 01:56:12 +0000 |
commit | d02b5c744e39ea87980f75ad172aaaf0fcb29252 (patch) | |
tree | 0e4ce0b6bbba1ab3f7158a742a6a97d5766c7465 /apps/codecs/shorten.c | |
parent | 6be390f21091ac3438d4ddb7935d985f2e4286ab (diff) |
Don't keep useless id3v2 or other leading tag data on the buffer, it could be large
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15465 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs/shorten.c')
-rw-r--r-- | apps/codecs/shorten.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/codecs/shorten.c b/apps/codecs/shorten.c index 4b803675f9..fdc8142041 100644 --- a/apps/codecs/shorten.c +++ b/apps/codecs/shorten.c @@ -68,8 +68,7 @@ next_track: /* Skip id3v2 tags */ if (ci->id3->first_frame_offset) { - buf = ci->request_buffer(&bytesleft, ci->id3->first_frame_offset); - ci->advance_buffer(ci->id3->first_frame_offset); + ci->seek_buffer(ci->id3->first_frame_offset); } /* Read the shorten & wave headers */ |