Browse Source

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

tags/n1.0
Kostya Shishkov 12 years ago
parent
commit
8772d2511a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/g723_1.c

+ 1
- 1
libavcodec/g723_1.c View File

@@ -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;
}

/**


Loading…
Cancel
Save