riff: recognize upper-case "ID3" chunk name
Some tagging libraries (eg. TagLib) produce that variant.
This commit is contained in:

committed by
Max Kellermann

parent
97fc001180
commit
e4d69f38b0
@@ -87,7 +87,8 @@ riff_seek_id3(FILE *file)
|
||||
/* pad byte */
|
||||
++size;
|
||||
|
||||
if (memcmp(chunk.id, "id3 ", 4) == 0)
|
||||
if (memcmp(chunk.id, "id3 ", 4) == 0 ||
|
||||
memcmp(chunk.id, "ID3 ", 4) == 0)
|
||||
/* found it! */
|
||||
return size;
|
||||
|
||||
|
Reference in New Issue
Block a user