summaryrefslogtreecommitdiff
path: root/libavcodec/sipr.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2010-04-21 17:43:52 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2010-04-21 17:43:52 +0000
commitbb2dd9efd8e88a71882bb1fabe1dc5f8fa34afba (patch)
tree01b9696345d7aa71d3c68f829113034eeb699fde /libavcodec/sipr.c
parent8e6daa4a9558668930b370da5708dc353f4e94e1 (diff)
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/sipr.c')
-rw-r--r--libavcodec/sipr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/sipr.c b/libavcodec/sipr.c
index fc19ecd710..5b7d87f14e 100644
--- a/libavcodec/sipr.c
+++ b/libavcodec/sipr.c
@@ -479,7 +479,8 @@ static void decode_frame(SiprContext *ctx, SiprParameters *params,
float energy = ff_dot_productf(ctx->postfilter_syn5k0 + LP_FILTER_ORDER + i*SUBFR_SIZE,
ctx->postfilter_syn5k0 + LP_FILTER_ORDER + i*SUBFR_SIZE,
SUBFR_SIZE);
- ff_adaptive_gain_control(&synth[i * SUBFR_SIZE], energy,
+ ff_adaptive_gain_control(&synth[i * SUBFR_SIZE],
+ &synth[i * SUBFR_SIZE], energy,
SUBFR_SIZE, 0.9, &ctx->postfilter_agc);
}