summaryrefslogtreecommitdiffstats
path: root/lib/rbcodec/codecs
diff options
context:
space:
mode:
authorMoshe Piekarski <dev.rockbox@melachim.net>2020-06-24 05:53:44 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-15 18:30:07 +0000
commite884140eae2b093cc33dae3af20fc72ab621c518 (patch)
treed0ace2d21481bebc5598af23860507c023280dbb /lib/rbcodec/codecs
parentff8cca70a4651e6a9db9599d3778d7b5d7926d96 (diff)
downloadrockbox-e884140eae2b093cc33dae3af20fc72ab621c518.tar.gz
rockbox-e884140eae2b093cc33dae3af20fc72ab621c518.tar.bz2
rockbox-e884140eae2b093cc33dae3af20fc72ab621c518.zip
Add support for ID3 tags embedded in AIFF files
Change-Id: I15eb50b6ba1c26052f08e01861f47faede3b9b3b
Diffstat (limited to 'lib/rbcodec/codecs')
-rw-r--r--lib/rbcodec/codecs/aiff.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/aiff.c b/lib/rbcodec/codecs/aiff.c
index 2900ed2ecb..a82ae5f2e2 100644
--- a/lib/rbcodec/codecs/aiff.c
+++ b/lib/rbcodec/codecs/aiff.c
@@ -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);