1
0
Fork 0
forked from len0rd/rockbox

Add support for ID3 tags embedded in AIFF files

Change-Id: I15eb50b6ba1c26052f08e01861f47faede3b9b3b
This commit is contained in:
Moshe Piekarski 2020-06-24 05:53:44 -04:00 committed by Solomon Peachy
parent ff8cca70a4
commit e884140eae
3 changed files with 43 additions and 5 deletions

View file

@ -198,6 +198,10 @@ enum codec_status codec_run(void)
} else if (is_aifc && (memcmp(buf, "FVER", 4)==0)) {
/* Format Version Chunk (AIFC only chunk) */
/* skip this chunk */
} else if ( (memcmp(buf, "NAME", 4)==0) || (memcmp(buf, "AUTH", 4)==0)
|| (memcmp(buf, "ANNO", 4)==0)) {
/* Text chunks containing only metadata */
/* skip this chunk */
} else {
DEBUGF("unsupported AIFF chunk: '%c%c%c%c', size=%lu\n",
buf[0], buf[1], buf[2], buf[3], (unsigned long)size);