aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/hrtf.c')
-rw-r--r--Alc/hrtf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/hrtf.c b/Alc/hrtf.c
index fb498356..752ca4f8 100644
--- a/Alc/hrtf.c
+++ b/Alc/hrtf.c
@@ -746,9 +746,9 @@ static struct Hrtf *LoadHrtf02(const ALubyte *data, size_t datalen, const char *
ALubyte (*delays)[2] = NULL;
ALsizei i, j;
- if(datalen < 6)
+ if(datalen < 8)
{
- ERR("Unexpected end of %s data (req %d, rem "SZFMT"\n", filename, 6, datalen);
+ ERR("Unexpected end of %s data (req %d, rem "SZFMT"\n", filename, 8, datalen);
return NULL;
}