diff options
author | Chris Robinson <[email protected]> | 2017-08-09 20:42:22 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-08-09 20:42:22 -0700 |
commit | 2987c876453a4db1d08a473aee06fa887cccf11e (patch) | |
tree | ce1952c592161d1640ed8343ec28fd9cba00205b /Alc/hrtf.c | |
parent | 649bf575e2898200f35aa776bb729460583c9bdb (diff) |
Check the right size for the in-progress mhr update
Diffstat (limited to 'Alc/hrtf.c')
-rw-r--r-- | Alc/hrtf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |