Making lower sampling rates use the same allocation table
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Thu, 16 Dec 2010 21:45:35 +0000 (16:45 -0500)
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>
Thu, 16 Dec 2010 21:45:35 +0000 (16:45 -0500)
libcelt/modes.c

index 43ad2c1..9758812 100644 (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];