riff: recognize upper-case "ID3" chunk name
Some tagging libraries (eg. TagLib) produce that variant.
This commit is contained in:
parent
97fc001180
commit
e4d69f38b0
2
NEWS
2
NEWS
@ -1,6 +1,8 @@
|
|||||||
ver 0.18.6 (not yet released)
|
ver 0.18.6 (not yet released)
|
||||||
* input
|
* input
|
||||||
- cdio_paranoia: support libcdio-paranoia 0.90
|
- cdio_paranoia: support libcdio-paranoia 0.90
|
||||||
|
* tags
|
||||||
|
- riff: recognize upper-case "ID3" chunk name
|
||||||
* output
|
* output
|
||||||
- openal: fix build failure on Mac OS X
|
- openal: fix build failure on Mac OS X
|
||||||
- osx: fix build failure
|
- osx: fix build failure
|
||||||
|
@ -87,7 +87,8 @@ riff_seek_id3(FILE *file)
|
|||||||
/* pad byte */
|
/* pad byte */
|
||||||
++size;
|
++size;
|
||||||
|
|
||||||
if (memcmp(chunk.id, "id3 ", 4) == 0)
|
if (memcmp(chunk.id, "id3 ", 4) == 0 ||
|
||||||
|
memcmp(chunk.id, "ID3 ", 4) == 0)
|
||||||
/* found it! */
|
/* found it! */
|
||||||
return size;
|
return size;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user