aiff: support the AIFC format

This commit is contained in:
Max Kellermann
2012-07-10 01:53:46 +02:00
parent dbee2f1996
commit 5385d1fa80
2 changed files with 4 additions and 1 deletions

View File

@@ -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;