Mercurial > libavcodec.hg
diff sipr.c @ 11648:0516f4062307 libavcodec
Split input/output data arguments to ff_acelp_apply_order_2_transfer_function().
author | rbultje |
---|---|
date | Wed, 21 Apr 2010 17:45:24 +0000 |
parents | 26aabf52f578 |
children | 8b6f3d3b55cb |
line wrap: on
line diff
--- a/sipr.c Wed Apr 21 17:43:52 2010 +0000 +++ b/sipr.c Wed Apr 21 17:45:24 2010 +0000 @@ -490,14 +490,14 @@ memcpy(ctx->excitation, excitation - PITCH_DELAY_MAX - L_INTERPOL, (PITCH_DELAY_MAX + L_INTERPOL) * sizeof(float)); - ff_acelp_apply_order_2_transfer_function(synth, + ff_acelp_apply_order_2_transfer_function(out_data, synth, (const float[2]) {-1.99997 , 1.000000000}, (const float[2]) {-1.93307352, 0.935891986}, 0.939805806, ctx->highpass_filt_mem, frame_size); - ctx->dsp.vector_clipf(out_data, synth, -1, 32767./(1<<15), frame_size); + ctx->dsp.vector_clipf(out_data, out_data, -1, 32767./(1<<15), frame_size); }