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>2011-02-07 04:23:19 +0300
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2011-02-07 04:23:19 +0300
commit35a96ea9836caf4009842be046cded0d31d6b7c0 (patch)
treefa220548f2d591806d47fdd072251a1e971d1616
parent285bc372cadfc6876b7f4942318e312665729156 (diff)
minor detail with the last patch
-rw-r--r--libcelt/rate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcelt/rate.c b/libcelt/rate.c
index b03754c..8b31dc0 100644
--- a/libcelt/rate.c
+++ b/libcelt/rate.c
@@ -420,7 +420,7 @@ static inline int interp_bits2pulses(const CELTMode *m, int start, int end, int
percoeff = left/(m->eBands[codedBands]-m->eBands[start]);
left -= (m->eBands[codedBands]-m->eBands[start])*percoeff;
for (j=start;j<codedBands;j++)
- bits[j] += (int)(percoeff*(m->eBands[j+1]-m->eBands[j]));
+ bits[j] += ((int)percoeff*(m->eBands[j+1]-m->eBands[j]));
for (j=start;j<codedBands;j++)
{
int tmp = (int)IMIN(left, m->eBands[j+1]-m->eBands[j]);