mirror of
https://gitlab.com/ecodis/exhale.git
synced 2025-06-05 21:59:32 +02:00
fix >48-kHz coding
This commit is contained in:
@ -542,7 +542,7 @@ unsigned SfbQuantizer::initQuantMemory (const unsigned maxTransfLength,
|
||||
|
||||
if ((m_coeffMagn = (unsigned*) malloc (maxTransfLength * sizeof (unsigned))) == nullptr ||
|
||||
#if EC_TRELLIS_OPT_CODING
|
||||
(m_coeffTemp = (uint8_t* ) malloc (maxTransfLength + quantRateLength )) == nullptr ||
|
||||
(m_coeffTemp = (uint8_t* ) malloc (maxTransfLength + quantRateLength*2)) == nullptr ||
|
||||
#endif
|
||||
(m_lut2ExpX4 = (double* ) malloc (numScaleFactors * sizeof (double ))) == nullptr ||
|
||||
(m_lutSfNorm = (double* ) malloc (numScaleFactors * sizeof (double ))) == nullptr ||
|
||||
|
Reference in New Issue
Block a user