diff options
author | Chris Robinson <[email protected]> | 2012-09-11 10:43:53 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2012-09-11 10:43:53 -0700 |
commit | 88b0c301529659505ee70fef8245fb30ebecd42a (patch) | |
tree | 8c5022f79f2d44acb208077f56d0e9da50823c1e /utils/makehrtf.c | |
parent | 01183ad93bbc65c090062c17fa7f4f3e0be05e0a (diff) |
Use the correct size for defaultCoeffs
Diffstat (limited to 'utils/makehrtf.c')
-rw-r--r-- | utils/makehrtf.c | 2 |
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); |