aboutsummaryrefslogtreecommitdiffstats
path: root/utils/makehrtf.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/makehrtf.c')
-rw-r--r--utils/makehrtf.c2
1 files changed, 1 insertions, 1 deletions
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);