Commit 518d9f24 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Merge branch '682-stereo-decoder-48kbps-crashes-with-10-frame-error-pattern' into 'main'

Resolve "Wrong index used in ivas_sns_com_fx.c:146"

Closes #682

See merge request !123
parents 0f79cfe0 942d83c4
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@ void sns_compute_scf_fx(
    /* Noise floor at -40dB */
    sum = 0;
    for (Word16 ind = 0; ind < FDNS_NPTS; ind++) {
        sum += (Word64)xs[i];
        sum += (Word64)xs[ind];
    }
    mean = (Word32)(sum >> 6);