Split the input/output data arguments to ff_adaptive_gain_control().

Originally committed as revision 22932 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ronald S. Bultje
2010-04-21 17:43:52 +00:00
parent 8e6daa4a95
commit bb2dd9efd8
4 changed files with 9 additions and 7 deletions

View File

@ -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);
}