Commit e4d69f38 authored by Michal Smucr's avatar Michal Smucr Committed by Max Kellermann

riff: recognize upper-case "ID3" chunk name

Some tagging libraries (eg. TagLib) produce that variant.
parent 97fc0011
ver 0.18.6 (not yet released)
* input
- cdio_paranoia: support libcdio-paranoia 0.90
* tags
- riff: recognize upper-case "ID3" chunk name
* output
- openal: fix build failure on Mac OS X
- osx: fix build failure
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment