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