diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/makehrtf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/makehrtf.c b/utils/makehrtf.c index f8ac66c6..e35c45a7 100644 --- a/utils/makehrtf.c +++ b/utils/makehrtf.c @@ -1211,6 +1211,9 @@ static void ResamplerRun (ResamplerT * rs, const uint inN, const double * in, co double r; uint j_f, j_s; + if (outN == 0) + return; + // Handle in-place operation. if (in == out) work = CreateArray (outN); |