Revision bb2dd9ef libavcodec/amrnbdec.c

View differences:

libavcodec/amrnbdec.c
943 943
    ff_tilt_compensation(&p->tilt_mem, tilt_factor(lpc_n, lpc_d), buf_out,
944 944
                         AMR_SUBFRAME_SIZE);
945 945

  
946
    ff_adaptive_gain_control(buf_out, speech_gain, AMR_SUBFRAME_SIZE,
946
    ff_adaptive_gain_control(buf_out, buf_out, speech_gain, AMR_SUBFRAME_SIZE,
947 947
                             AMR_AGC_ALPHA, &p->postfilter_agc);
948 948
}
949 949

  

Also available in: Unified diff