if the id3v2 tags avaiable are bigger than our buffer size, at least try

to get the ones that is within the boundaries.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2296 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-09-16 08:18:51 +00:00
parent fba7a4102f
commit 9fe53cda9a

View file

@ -629,7 +629,7 @@ bool mp3info(struct mp3entry *entry, char *filename)
entry->id3v2len = getid3v2len(fd);
entry->tracknum = 0;
if ( entry->id3v2len && entry->id3v2len <= sizeof( entry->id3v2buf ) )
if (entry->id3v2len)
setid3v2title(fd, entry);
entry->length = getsonglength(fd, entry);