X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fcelp_math.c;h=920995a879c555639d847fd35b0b7f2a03b98ca6;hb=bc70684e74a185d7b80c8b80bdedda659cb581b8;hp=a96b1aed9ea19bad77b817d5ab4ff02beb3e77c3;hpb=4339c94364f8ff143d051fcace3e5801625db607;p=ffmpeg diff --git a/libavcodec/celp_math.c b/libavcodec/celp_math.c index a96b1aed9ea..920995a879c 100644 --- a/libavcodec/celp_math.c +++ b/libavcodec/celp_math.c @@ -29,6 +29,7 @@ #include "celp_math.h" #include "libavutil/common.h" +#ifdef G729_BITEXACT static const uint16_t exp2a[]= { 0, 1435, 2901, 4400, 5931, 7496, 9096, 10730, @@ -54,6 +55,7 @@ int ff_exp2(uint16_t power) result= (result<<3) + ((result*exp2b[(power>>5)&31])>>17); return result + ((result*(power&31)*89)>>22); } +#endif /** * Table used to compute log2(x)