shithub: opus

Download patch

ref: 8e31ab3def98b4bf4988f1029bf5ed8251cd68fa
parent: 8e4476789c3fbd5b56dbb15c6445193ba215a753
author: Jean-Marc Valin <[email protected]>
date: Thu Dec 16 11:45:35 EST 2010

Making lower sampling rates use the same allocation table

--- a/libcelt/modes.c
+++ b/libcelt/modes.c
@@ -207,7 +207,7 @@
       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];