COMMON: Update RDFT and DCT cos/sin table constructor usage
When the constructor for the cos/sin table was changed from number of bits to number of points all usages thoughout the code should of been changed, but this was missed in RDFT and DCT. Fixes Trac#10683.
This commit is contained in:
parent
b00395b0b9
commit
cf99bb0a5e
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
|||
|
||||
namespace Common {
|
||||
|
||||
RDFT::RDFT(int bits, TransformType trans) : _bits(bits), _sin(bits), _cos(bits), _fft(nullptr) {
|
||||
RDFT::RDFT(int bits, TransformType trans) : _bits(bits), _sin(1 << bits), _cos(1 << bits), _fft(nullptr) {
|
||||
assert((_bits >= 4) && (_bits <= 16));
|
||||
|
||||
_inverse = trans == IDFT_C2R || trans == DFT_C2R;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue