mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
g723_1dec: remove unneeded cliping that leaked in from merge from libav
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
a9040a1167
commit
84d29df013
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user