From 2987c876453a4db1d08a473aee06fa887cccf11e Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 9 Aug 2017 20:42:22 -0700 Subject: Check the right size for the in-progress mhr update --- Alc/hrtf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Alc/hrtf.c') 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; } -- cgit v1.2.3