Commit 5385d1fa authored by Max Kellermann's avatar Max Kellermann

aiff: support the AIFC format

parent dbee2f19
ver 0.17.1 (2012/??/??)
* protocol:
- require appropriate permissions for searchadd{,pl}
* tags:
- aiff: support the AIFC format
* output:
- fix noisy playback with conversion and software volume
......
......@@ -73,7 +73,8 @@ aiff_seek_id3(FILE *file)
if (size != 1 ||
memcmp(header.id, "FORM", 4) != 0 ||
GUINT32_FROM_BE(header.size) > (uint32_t)st.st_size ||
memcmp(header.format, "AIFF", 4) != 0)
(memcmp(header.format, "AIFF", 4) != 0 &&
memcmp(header.format, "AIFC", 4) != 0))
/* not a AIFF file */
return 0;
......
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