Mercurial > libavcodec.hg
diff sipr.c @ 11647:26aabf52f578 libavcodec
Split the input/output data arguments to ff_adaptive_gain_control().
author | rbultje |
---|---|
date | Wed, 21 Apr 2010 17:43:52 +0000 |
parents | 8a4984c5cacc |
children | 0516f4062307 |
line wrap: on
line diff
--- a/sipr.c Wed Apr 21 13:19:00 2010 +0000 +++ b/sipr.c Wed Apr 21 17:43:52 2010 +0000 @@ -479,7 +479,8 @@ 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); }