aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2008-10-31 19:31:36 +0000
committerFrançois Revol <revol@free.fr>2008-10-31 19:31:36 +0000
commit3a57547e33cb859e0989da2acd553ebdf84e48ef (patch)
tree88f2367884480adc33acbe2141737ae6df29d1f7
parentecad9872fb8c50dc88e8298535603e04fd9cf8b4 (diff)
downloadffmpeg-3a57547e33cb859e0989da2acd553ebdf84e48ef.tar.gz
Fix build.
Originally committed as revision 15761 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/celp_math.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/celp_math.c b/libavcodec/celp_math.c
index df05917d20..09111da819 100644
--- 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);