Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/celt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2010-12-17 00:45:35 +0300
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2010-12-17 00:45:35 +0300
commit8e31ab3def98b4bf4988f1029bf5ed8251cd68fa (patch)
treebed3e8a38d0ca55d7a9d9a29017f4d207c5e9d88
parent8e4476789c3fbd5b56dbb15c6445193ba215a753 (diff)
Making lower sampling rates use the same allocation table
-rw-r--r--libcelt/modes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcelt/modes.c b/libcelt/modes.c
index 43ad2c1..9758812 100644
--- a/libcelt/modes.c
+++ b/libcelt/modes.c
@@ -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];