shithub: opus

Download patch

ref: 5edcfaf6b166b16d40609e7faa393ec54128f8bb
parent: 3e3a2ff127a27bf8cc54c14b444053712cd5e590
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Tue Feb 13 08:39:06 EST 2018

oops

--- a/celt/celt_encoder.c
+++ b/celt/celt_encoder.c
@@ -1050,7 +1050,7 @@
       for (i=start;i<end;i++)
       {
 #ifdef FIXED_POINT
-         importance[i] = PSHR32(13*celt_exp2(MIN16(follower[i], QCONST16(4.f, DB_SHIFT)), 16);
+         importance[i] = PSHR32(13*celt_exp2(MIN16(follower[i], QCONST16(4.f, DB_SHIFT))), 16);
 #else
          importance[i] = (int)floor(.5f+13*celt_exp2(MIN16(follower[i], QCONST16(4.f, DB_SHIFT))));
 #endif