This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
g723_1: fix off-by-one error in normalize_bits()
tags/n1.0
Kostya Shishkov
12 years ago
parent
7f92db14f9
commit
8772d2511a
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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)
if (num < 0)
num = ~num;
num = ~num;
return width - av_log2(num);
return width - av_log2(num)
- 1
;
}
}
/**
/**
Write
Preview
Loading…
Cancel
Save