aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ra288.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2010-04-21 17:57:48 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2010-04-21 17:57:48 +0000
commitb1078e9fe6b5d8f034d15a6ab91430fd41921fe2 (patch)
tree5d16af4805e9567267f3f3daa96e015523f4216c /libavcodec/ra288.c
parent6858ce2ffc4c57a279b22ab6d8eb56ac3884796e (diff)
downloadffmpeg-b1078e9fe6b5d8f034d15a6ab91430fd41921fe2.tar.gz
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
Diffstat (limited to 'libavcodec/ra288.c')
-rw-r--r--libavcodec/ra288.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c
index c74b5f78df..20a21f5dc7 100644
--- a/libavcodec/ra288.c
+++ b/libavcodec/ra288.c
@@ -102,10 +102,6 @@ static void decode(RA288Context *ractx, float gain, int cb_coef)
gain_block[9] = 10 * log10(sum) - 32;
ff_celp_lp_synthesis_filterf(block, ractx->sp_lpc, buffer, 5, 36);
-
- /* output */
- for (i=0; i < 5; i++)
- block[i] = av_clipf(block[i], -4095./4096., 4095./4096.);
}
/**