aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/g723_1.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-13 15:01:45 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-13 15:01:45 +0200
commit84d29df01328c4695512aeb0021a9a9c9f54abbe (patch)
tree53e26e58ecb0b0da434610f651648f0fc440e3d7 /libavcodec/g723_1.c
parenta9040a11678f34b1dc2b8760ee1377478bdb3e83 (diff)
downloadffmpeg-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.c1
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)