1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

g723_1dec: remove dead code that leaked in from libav

It appears someone thinks this special case can be reached
Well, it cannot, thus not only do we not need to optimize it
we dont need it at all

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-08-13 15:02:21 +02:00
parent 84d29df013
commit 20035fa241

View File

@ -259,10 +259,6 @@ static int scale_vector(int16_t *dst, const int16_t *vector, int length)
bits = normalize_bits(max, 15);
if (bits == 15)
for (i = 0; i < length; i++)
dst[i] = vector[i] * 0x7fff >> 3;
else
for (i = 0; i < length; i++)
dst[i] = vector[i] << bits >> 3;