diff options
author | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2010-12-17 00:45:35 +0300 |
---|---|---|
committer | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2010-12-17 00:45:35 +0300 |
commit | 8e31ab3def98b4bf4988f1029bf5ed8251cd68fa (patch) | |
tree | bed3e8a38d0ca55d7a9d9a29017f4d207c5e9d88 | |
parent | 8e4476789c3fbd5b56dbb15c6445193ba215a753 (diff) |
Making lower sampling rates use the same allocation table
-rw-r--r-- | libcelt/modes.c | 2 |
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]; |