Patch #1161046 by Bryan Vandyke - id3v2 frames with size 0 may cause rockbox to miss tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7426 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
dffcd15608
commit
c4a230c11a
1 changed files with 8 additions and 3 deletions
|
@ -677,9 +677,14 @@ static void setid3v2title(int fd, struct mp3entry *entry)
|
|||
|
||||
/* Keep track of the total size */
|
||||
totframelen = framelen;
|
||||
|
||||
if(framelen == 0)
|
||||
return;
|
||||
|
||||
DEBUGF("framelen = %d\n", framelen);
|
||||
if(framelen == 0){
|
||||
if (header[0] == 0 && header[1] == 0 && header[2] == 0)
|
||||
return;
|
||||
else
|
||||
continue;
|
||||
}
|
||||
|
||||
unsynch = false;
|
||||
data_length_ind = 0;
|
||||
|
|
Loading…
Reference in a new issue