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:
parent
fba7a4102f
commit
9fe53cda9a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue