Revision 3a57547e

View differences:

libavcodec/celp_math.c
148 148
{
149 149
    unsigned int result= exp2a[power>>10] + 0x10000;
150 150

  
151
    assert(arg <= 0x7fff);
151
    assert(power <= 0x7fff);
152 152

  
153 153
    result= (result<<3) + ((result*exp2b[(power>>5)&31])>>17);
154 154
    return result + ((result*(power&31)*89)>>22);

Also available in: Unified diff