Making lower sampling rates use the same allocation table

This commit is contained in:
Jean-Marc Valin 2010-12-16 16:45:35 -05:00
parent 8e4476789c
commit 8e31ab3def

View file

@ -207,7 +207,7 @@ static void compute_allocation_table(CELTMode *mode, int res)
return;
/* 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++)
allocVectors[i] = band_allocation[i];