summaryrefslogtreecommitdiff
path: root/apps/codecs/aiff.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/aiff.c')
-rw-r--r--apps/codecs/aiff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/aiff.c b/apps/codecs/aiff.c
index 4fed9c0c9e..d663b4b367 100644
--- a/apps/codecs/aiff.c
+++ b/apps/codecs/aiff.c
@@ -98,8 +98,8 @@ next_track:
/* chunkSize */
i = ((buf[4]<<24)|(buf[5]<<16)|(buf[6]<<8)|buf[7]);
if (memcmp(buf, "COMM", 4) == 0) {
- if (i != 18) {
- DEBUGF("CODEC_ERROR: 'COMM' chunk size=%lu != 18\n",
+ if (i < 18) {
+ DEBUGF("CODEC_ERROR: 'COMM' chunk size=%lu < 18\n",
(unsigned long)i);
i = CODEC_ERROR;
goto done;