Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93b68548 authored by Jean-Baptiste Queru's avatar Jean-Baptiste Queru Committed by Android Git Automerger
Browse files

am 979df012: am 98159acd: Merge "amrnb: Restart the p_xn pointer when...

am 979df012: am 98159acd: Merge "amrnb: Restart the p_xn pointer when retraversing the array on overflow"

* commit '979df012':
  amrnb: Restart the p_xn pointer when retraversing the array on overflow
parents 106e8a42 979df012
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -400,8 +400,9 @@ Word16 G_pitch( /* o : Gain of pitch lag saturated to 1.2 */
    }
    else
    {
        s = 0;                      /* Avoid case of all zeros */
        s = 0;  /* re-initialize calculations */
        p_y1 = &y1[0];
        p_xn = &xn[0];
        for (i = (L_subfr >> 2); i != 0; i--)
        {
            L_temp = (Word32)(*(p_y1++) >> 2);