diff --git a/libavcodec/celp_math.c b/libavcodec/celp_math.c
index df05917d20f870db75ff6e5605b18acb84d41c00..09111da819f2d1b884f311947e187dec4e889dce 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);