diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2010-04-21 17:45:24 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-04-21 17:45:24 +0000 |
commit | 8955a9d79c9bc5b9bdcb333d8f41654c7920c60a (patch) | |
tree | 4b32770cd010826287719ec0c39595a5bafd3f42 /libavcodec/sipr.c | |
parent | bb2dd9efd8e88a71882bb1fabe1dc5f8fa34afba (diff) | |
download | ffmpeg-8955a9d79c9bc5b9bdcb333d8f41654c7920c60a.tar.gz |
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
Diffstat (limited to 'libavcodec/sipr.c')
-rw-r--r-- | libavcodec/sipr.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |