summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/id3.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/id3.c b/firmware/id3.c
index 6aeafc4749..b9e72c66ac 100644
--- a/firmware/id3.c
+++ b/firmware/id3.c
@@ -304,8 +304,7 @@ static void setid3v2title(int fd, struct mp3entry *entry)
304 if(flags & 0x0040) /* Grouping identity */ 304 if(flags & 0x0040) /* Grouping identity */
305 skip++; 305 skip++;
306 306
307 if(flags & 0x000e) /* Compression, encryption or 307 if(flags & 0x000c) /* Compression or encryption */
308 unsynchronization */
309 { 308 {
310 /* Skip it using the total size in case 309 /* Skip it using the total size in case
311 it was truncated */ 310 it was truncated */
@@ -314,6 +313,9 @@ static void setid3v2title(int fd, struct mp3entry *entry)
314 continue; 313 continue;
315 } 314 }
316 315
316 /* The Unsynchronization flag can't be trusted, so we
317 don't check it for now... */
318
317 if(flags & 0x0001) /* Data length indicator */ 319 if(flags & 0x0001) /* Data length indicator */
318 skip += 4; 320 skip += 4;
319 321