diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2010-04-21 17:43:52 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-04-21 17:43:52 +0000 |
commit | bb2dd9efd8e88a71882bb1fabe1dc5f8fa34afba (patch) | |
tree | 01b9696345d7aa71d3c68f829113034eeb699fde /libavcodec/amrnbdec.c | |
parent | 8e6daa4a9558668930b370da5708dc353f4e94e1 (diff) | |
download | ffmpeg-bb2dd9efd8e88a71882bb1fabe1dc5f8fa34afba.tar.gz |
Split the input/output data arguments to ff_adaptive_gain_control().
Originally committed as revision 22932 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/amrnbdec.c')
-rw-r--r-- | libavcodec/amrnbdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/amrnbdec.c b/libavcodec/amrnbdec.c index 08ad9525c8..3e7515d0f1 100644 --- a/libavcodec/amrnbdec.c +++ b/libavcodec/amrnbdec.c @@ -943,7 +943,7 @@ static void postfilter(AMRContext *p, float *lpc, float *buf_out) ff_tilt_compensation(&p->tilt_mem, tilt_factor(lpc_n, lpc_d), buf_out, AMR_SUBFRAME_SIZE); - ff_adaptive_gain_control(buf_out, speech_gain, AMR_SUBFRAME_SIZE, + ff_adaptive_gain_control(buf_out, buf_out, speech_gain, AMR_SUBFRAME_SIZE, AMR_AGC_ALPHA, &p->postfilter_agc); } |