summaryrefslogtreecommitdiff
path: root/libavcodec/g723_1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/g723_1.c')
-rw-r--r--libavcodec/g723_1.c7
1 files changed, 0 insertions, 7 deletions
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;
}