projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecad987
)
Fix build.
author
François Revol
<revol@free.fr>
Fri, 31 Oct 2008 19:31:36 +0000
(19:31 +0000)
committer
François Revol
<revol@free.fr>
Fri, 31 Oct 2008 19:31:36 +0000
(19:31 +0000)
Originally committed as revision 15761 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/celp_math.c
patch
|
blob
|
history
diff --git
a/libavcodec/celp_math.c
b/libavcodec/celp_math.c
index
df05917
..
09111da
100644
(file)
--- a/
libavcodec/celp_math.c
+++ b/
libavcodec/celp_math.c
@@
-148,7
+148,7
@@
int ff_exp2(uint16_t power)
{
unsigned int result= exp2a[power>>10] + 0x10000;
- assert(
arg
<= 0x7fff);
+ assert(
power
<= 0x7fff);
result= (result<<3) + ((result*exp2b[(power>>5)&31])>>17);
return result + ((result*(power&31)*89)>>22);