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

Commit dbdda238 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Fix abort of the sanitizer

Bug: 150670922
Tag: #feature
Change-Id: I5a9b1168a623d6b064aaf51d30b5994d6a79a2dc
parent 7ac556f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -321,7 +321,7 @@ static int refine_pitch(struct lc3_ltpf_state *state,
    correlate(x, x - (r0 - 4), n, r, nr + 8);

    e = r0 + argmax(r + 4, nr, &rm);
    const float *re = r + e - (r0 - 4);
    const float *re = r + (e - (r0 - 4));

    float dm = interpolate_4(re, f = 0);
    for (int i = 1; i <= 3; i++) {