summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-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:
98 /* chunkSize */ 98 /* chunkSize */
99 i = ((buf[4]<<24)|(buf[5]<<16)|(buf[6]<<8)|buf[7]); 99 i = ((buf[4]<<24)|(buf[5]<<16)|(buf[6]<<8)|buf[7]);
100 if (memcmp(buf, "COMM", 4) == 0) { 100 if (memcmp(buf, "COMM", 4) == 0) {
101 if (i != 18) { 101 if (i < 18) {
102 DEBUGF("CODEC_ERROR: 'COMM' chunk size=%lu != 18\n", 102 DEBUGF("CODEC_ERROR: 'COMM' chunk size=%lu < 18\n",
103 (unsigned long)i); 103 (unsigned long)i);
104 i = CODEC_ERROR; 104 i = CODEC_ERROR;
105 goto done; 105 goto done;