diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-13 15:01:45 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-13 15:01:45 +0200 |
commit | 84d29df01328c4695512aeb0021a9a9c9f54abbe (patch) | |
tree | 53e26e58ecb0b0da434610f651648f0fc440e3d7 /libavcodec/g723_1.c | |
parent | a9040a11678f34b1dc2b8760ee1377478bdb3e83 (diff) | |
download | ffmpeg-84d29df01328c4695512aeb0021a9a9c9f54abbe.tar.gz |
g723_1dec: remove unneeded cliping that leaked in from merge from libav
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/g723_1.c')
-rw-r--r-- | libavcodec/g723_1.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/g723_1.c b/libavcodec/g723_1.c index 5319aecc02..a8ca75f99a 100644 --- a/libavcodec/g723_1.c +++ b/libavcodec/g723_1.c @@ -257,7 +257,6 @@ static int scale_vector(int16_t *dst, const int16_t *vector, int length) for (i = 0; i < length; i++) max |= FFABS(vector[i]); - max = FFMIN(max, 0x7FFF); bits = normalize_bits(max, 15); if (bits == 15) |