From b1078e9fe6b5d8f034d15a6ab91430fd41921fe2 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Wed, 21 Apr 2010 17:57:48 +0000 Subject: Move clipping of audio samples (for those codecs outputting float) from decoder to the audio conversion routines. Originally committed as revision 22937 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/sipr16k.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavcodec/sipr16k.c') diff --git a/libavcodec/sipr16k.c b/libavcodec/sipr16k.c index f6859b166a..7fb9252927 100644 --- a/libavcodec/sipr16k.c +++ b/libavcodec/sipr16k.c @@ -264,9 +264,6 @@ void ff_sipr_decode_frame_16k(SiprContext *ctx, SiprParameters *params, postfilter(out_data, synth, ctx->iir_mem, ctx->filt_mem, ctx->mem_preemph); memcpy(ctx->iir_mem, Az[1], LP_FILTER_ORDER_16k * sizeof(float)); - - ctx->dsp.vector_clipf(out_data, out_data, -1, 32767./(1<<15), frame_size); - } void ff_sipr_init_16k(SiprContext *ctx) -- cgit v1.2.3