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/twinvq.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavcodec/twinvq.c') diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c index 1aa66661d6..6ab3a465d9 100644 --- a/libavcodec/twinvq.c +++ b/libavcodec/twinvq.c @@ -850,9 +850,6 @@ static int twin_decode_frame(AVCodecContext * avctx, void *data, return buf_size; } - tctx->dsp.vector_clipf(out, out, -32700./(1<<15), 32700./(1<<15), - avctx->channels * mtab->size); - *data_size = mtab->size*avctx->channels*4; return buf_size; -- cgit v1.2.3