forked from len0rd/rockbox
fix sub-string comparison
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14602 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
95101c19f2
commit
3fbd2414af
1 changed files with 1 additions and 1 deletions
|
@ -952,7 +952,7 @@ static void setid3v2title(int fd, struct mp3entry *entry)
|
|||
if(!memcmp( header, "COMM", 4 )) {
|
||||
int offset;
|
||||
/* ignore comments with iTunes 7 soundcheck/gapless data */
|
||||
if(!strcmp(tag+4, "iTun"))
|
||||
if(!strncmp(tag+4, "iTun", 4))
|
||||
break;
|
||||
offset = 3 + unicode_len(*tag, tag + 4);
|
||||
if(bytesread > offset) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue