diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-03-10 15:32:59 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-03-10 15:32:59 +0000 |
commit | a1598b5836148f63193425f63e822937d2103482 (patch) | |
tree | c27422256b232cf9dfd8775348f6ceb7e84c145b /firmware | |
parent | aa2972d41b6a8e98a05cfe391fef47ba6319c175 (diff) | |
download | rockbox-a1598b5836148f63193425f63e822937d2103482.tar.gz rockbox-a1598b5836148f63193425f63e822937d2103482.zip |
I hate it when rippers don't follow the ID3V2 specs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3412 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/id3.c | 6 |
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 | ||