Commit 8772d251 authored by Kostya Shishkov's avatar Kostya Shishkov
Browse files

g723_1: fix off-by-one error in normalize_bits()

parent 7f92db14
......@@ -274,7 +274,7 @@ static int normalize_bits(int num, int width)
if (num < 0)
num = ~num;
return width - av_log2(num);
return width - av_log2(num) - 1;
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment