shithub: opus

Download patch

ref: 35a96ea9836caf4009842be046cded0d31d6b7c0
parent: 285bc372cadfc6876b7f4942318e312665729156
author: Jean-Marc Valin <[email protected]>
date: Sun Feb 6 15:23:19 EST 2011

minor detail with the last patch

--- a/libcelt/rate.c
+++ b/libcelt/rate.c
@@ -420,7 +420,7 @@
    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]);