summaryrefslogtreecommitdiff
path: root/apps/metadata/aiff.c
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2010-01-27 17:25:10 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2010-01-27 17:25:10 +0000
commitc9183bf15e56bbc795f9fb08027ee6285b2ebed4 (patch)
treee355d4ebbdb9b06e7da5260ec58679aa96da15f1 /apps/metadata/aiff.c
parent7a50f6f2740b84d10cbb021fd59a870c09688b88 (diff)
downloadrockbox-c9183bf15e56bbc795f9fb08027ee6285b2ebed4.zip
rockbox-c9183bf15e56bbc795f9fb08027ee6285b2ebed4.tar.gz
rockbox-c9183bf15e56bbc795f9fb08027ee6285b2ebed4.tar.bz2
rockbox-c9183bf15e56bbc795f9fb08027ee6285b2ebed4.tar.xz
Commit FS#10422 by Yoshihisa Uchida. Seperates WAV and AIFF parsing from PCM decoding by introducing libpcm, a library for decoding linear and non-uniform PCM independently of the container format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24346 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata/aiff.c')
-rw-r--r--apps/metadata/aiff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/metadata/aiff.c b/apps/metadata/aiff.c
index cb18e92..67fb43b 100644
--- a/apps/metadata/aiff.c
+++ b/apps/metadata/aiff.c
@@ -48,7 +48,7 @@ bool get_aiff_metadata(int fd, struct mp3entry* id3)
}
if ((memcmp(buf, "FORM",4) != 0)
- || (memcmp(&buf[8], "AIFF", 4) !=0 ))
+ || ((memcmp(&buf[8], "AIFF", 4) !=0) && (memcmp(&buf[8], "AIFC", 4) !=0)))
{
return false;
}