diff --git a/libavcodec/g723_1.c b/libavcodec/g723_1.c index 37b7ff5f09..fd03ed97d4 100644 --- a/libavcodec/g723_1.c +++ b/libavcodec/g723_1.c @@ -265,13 +265,6 @@ static int16_t square_root(int val) */ static int normalize_bits(int num, int width) { - if (!num) - return 0; - if (num == -1) - return width; - if (num < 0) - num = ~num; - return width - av_log2(num) - 1; }