summaryrefslogtreecommitdiff
path: root/firmware/id3.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/id3.c')
-rw-r--r--firmware/id3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/id3.c b/firmware/id3.c
index 7528d06fc5..8051e461f1 100644
--- a/firmware/id3.c
+++ b/firmware/id3.c
@@ -952,7 +952,7 @@ static void setid3v2title(int fd, struct mp3entry *entry)
952 if(!memcmp( header, "COMM", 4 )) { 952 if(!memcmp( header, "COMM", 4 )) {
953 int offset; 953 int offset;
954 /* ignore comments with iTunes 7 soundcheck/gapless data */ 954 /* ignore comments with iTunes 7 soundcheck/gapless data */
955 if(!strcmp(tag+4, "iTun")) 955 if(!strncmp(tag+4, "iTun", 4))
956 break; 956 break;
957 offset = 3 + unicode_len(*tag, tag + 4); 957 offset = 3 + unicode_len(*tag, tag + 4);
958 if(bytesread > offset) { 958 if(bytesread > offset) {