Making lower sampling rates use the same allocation table
This commit is contained in:
parent
8e4476789c
commit
8e31ab3def
1 changed files with 1 additions and 1 deletions
|
@ -207,7 +207,7 @@ static void compute_allocation_table(CELTMode *mode, int res)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* Check for standard mode */
|
/* Check for standard mode */
|
||||||
if (mode->Fs == 400*(celt_int32)mode->shortMdctSize && mode->Fs >= 40000)
|
if (mode->Fs == 400*(celt_int32)mode->shortMdctSize)
|
||||||
{
|
{
|
||||||
for (i=0;i<BITALLOC_SIZE*mode->nbEBands;i++)
|
for (i=0;i<BITALLOC_SIZE*mode->nbEBands;i++)
|
||||||
allocVectors[i] = band_allocation[i];
|
allocVectors[i] = band_allocation[i];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue