shithub: opus

Download patch

ref: 454d3d595923306503fdcf083258f9558742d30d
parent: 027ff070f0bf322eb6f940001e7c78f10a8ee0f4
author: Jean-Marc Valin <[email protected]>
date: Fri Sep 14 23:09:35 EDT 2012

s/SHL/SHL16/

--- a/celt/celt.c
+++ b/celt/celt.c
@@ -1422,7 +1422,7 @@
       compute_band_energies(st->mode, freq2, bandE2, effEnd, C, M);
       amp2Log2(st->mode, effEnd, st->end, bandE2, bandLogE2, C);
       for (i=0;i<C*st->mode->nbEBands;i++)
-         bandLogE2[i] += HALF16(SHL(LM, DB_SHIFT));
+         bandLogE2[i] += HALF16(SHL16(LM, DB_SHIFT));
    } else {
       for (i=0;i<C*st->mode->nbEBands;i++)
          bandLogE2[i] = bandLogE[i];