From 88b0c301529659505ee70fef8245fb30ebecd42a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 11 Sep 2012 10:43:53 -0700 Subject: Use the correct size for defaultCoeffs --- utils/makehrtf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/makehrtf.c') diff --git a/utils/makehrtf.c b/utils/makehrtf.c index 65ca4bc1..5a3f7d1b 100644 --- a/utils/makehrtf.c +++ b/utils/makehrtf.c @@ -1820,7 +1820,7 @@ static int StoreTable (const HrirDataT * hData, const char * filename) { n = hData -> mIrPoints; snprintf (text, 128, "};\n\n" "/* HRIR Coefficients */\n" - "static const ALshort defaultCoeffs[%u] =\n{\n", end); + "static const ALshort defaultCoeffs[%u] =\n{\n", hData -> mIrCount * n); if (! WriteAscii (text, fp, filename)) return (0); srand (0x31DF840C); -- cgit v1.2.3