diff options
Diffstat (limited to 'common/dct.cpp')
-rw-r--r-- | common/dct.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/dct.cpp b/common/dct.cpp index 9d551b95ba..374eee03fc 100644 --- a/common/dct.cpp +++ b/common/dct.cpp @@ -30,7 +30,7 @@ namespace Common { -DCT::DCT(int bits, TransformType trans) : _bits(bits), _cos(_bits + 2), _trans(trans), _rdft(nullptr) { +DCT::DCT(int bits, TransformType trans) : _bits(bits), _cos(1 << (_bits + 2) ), _trans(trans), _rdft(nullptr) { int n = 1 << _bits; _tCos = _cos.getTable(); |