Revision 1efa772e

View differences:

libavcodec/amrnbdec.c
255 255
    }
256 256

  
257 257
    if (update)
258
        memcpy(p->prev_lsf_r, lsf_r, LP_FILTER_ORDER * sizeof(float));
258
        memcpy(p->prev_lsf_r, lsf_r, LP_FILTER_ORDER * sizeof(*lsf_r));
259 259

  
260 260
    for (i = 0; i < LP_FILTER_ORDER; i++)
261 261
        lsf_q[i] = lsf_r[i] * (LSF_R_FAC / 8000.0) + lsf_no_r[i] * (1.0 / 8000.0);

Also available in: Unified diff