diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c index 5f18593c9c..e6625cb98c 100644 --- a/libavcodec/nellymoserdec.c +++ b/libavcodec/nellymoserdec.c @@ -75,7 +75,7 @@ static void nelly_decode_block(NellyMoserDecodeContext *s, for (i=0 ; i 0) val += ff_nelly_delta_table[get_bits(&s->gb, 5)]; - pval = -pow(2, val/2048) * s->scale_bias; + pval = -exp2(val/2048) * s->scale_bias; for (j = 0; j < ff_nelly_band_sizes_table[i]; j++) { *bptr++ = val; *pptr++ = pval;