ref: e680926d170422fdcd1ee7266238c57a49a6c58b
parent: d050d027856aaf3d7758174da66504ae31eb6f31
author: Paul Brossier <piem@piem.org>
date: Mon Nov 26 13:22:06 EST 2018
[dct] fix radix check for accelerate
--- a/src/spectral/dct.c
+++ b/src/spectral/dct.c
@@ -87,7 +87,7 @@
{
uint_t radix = size;
uint_t order = 0;
- while ((radix / 2) * 2 == radix) {
+ while ((radix >= 1) && ((radix / 2) * 2 == radix)) {
radix /= 2;
order++;
}