diff sipr.c @ 11652:8b6f3d3b55cb libavcodec

Move clipping of audio samples (for those codecs outputting float) from decoder to the audio conversion routines.
author rbultje
date Wed, 21 Apr 2010 17:57:48 +0000
parents 0516f4062307
children fdafbcef52f5
line wrap: on
line diff
--- a/sipr.c	Wed Apr 21 17:51:37 2010 +0000
+++ b/sipr.c	Wed Apr 21 17:57:48 2010 +0000
@@ -496,9 +496,6 @@
                                              0.939805806,
                                              ctx->highpass_filt_mem,
                                              frame_size);
-
-    ctx->dsp.vector_clipf(out_data, out_data, -1, 32767./(1<<15), frame_size);
-
 }
 
 static av_cold int sipr_decoder_init(AVCodecContext * avctx)