From 8955a9d79c9bc5b9bdcb333d8f41654c7920c60a Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 21 Apr 2010 17:45:24 +0000 Subject: Split input/output data arguments to ff_acelp_apply_order_2_transfer_function(). Originally committed as revision 22933 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/sipr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/sipr.c') diff --git a/libavcodec/sipr.c b/libavcodec/sipr.c index 5b7d87f14e..d409484b61 100644 --- a/libavcodec/sipr.c +++ b/libavcodec/sipr.c @@ -490,14 +490,14 @@ static void decode_frame(SiprContext *ctx, SiprParameters *params, 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); } -- cgit v1.2.3