Mercurial > libavcodec.hg
diff ra288.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 | 8a4984c5cacc |
children | 5071d562408d |
line wrap: on
line diff
--- a/ra288.c Wed Apr 21 17:51:37 2010 +0000 +++ b/ra288.c Wed Apr 21 17:57:48 2010 +0000 @@ -102,10 +102,6 @@ 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.); } /**