Move the various version defines to be together.
[opus.git] / celt / pitch.c
index c01ea55..37fec8a 100644 (file)
@@ -114,7 +114,7 @@ void pitch_downsample(celt_sig * restrict x[], opus_val16 * restrict x_lp,
    opus_val32 maxabs = MAX32(1, celt_maxabs32(x[0], len));
    if (C==2)
       maxabs = MAX32(maxabs, celt_maxabs32(x[1], len));
-   shift = IMAX(0,celt_ilog2(maxabs)-11);
+   shift = IMAX(0,celt_ilog2(maxabs)-10);
    if (C==2)
       shift++;
 #endif