diff options
author | Axel Holzinger <aholzinger@gmx.de> | 2010-07-26 13:52:49 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-07-26 13:52:49 +0000 |
commit | 0b2c75cb687d9534f64e6e62be97ebe3cf6965fa (patch) | |
tree | 3c084d8a120f44165ce90e110a6a1ce7f11a42db /libavcodec | |
parent | 2208053bd3b06703632a82f7bd93c18eb5df18a1 (diff) | |
download | ffmpeg-0b2c75cb687d9534f64e6e62be97ebe3cf6965fa.tar.gz |
Rename pow variable to pwr.
Patch by Axel Holzinger <aholzinger gmx de>.
Originally committed as revision 24508 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/wmavoice.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c index 2a58014da3..c4582f35cc 100644 --- a/libavcodec/wmavoice.c +++ b/libavcodec/wmavoice.c @@ -582,14 +582,14 @@ static void calc_input_response(WMAVoiceContext *s, float *lpcs, (5.0 / 14.7)); angle_mul = gain_mul * (8.0 * M_LN10 / M_PI); for (n = 0; n <= 64; n++) { - float pow; + float pwr; idx = FFMAX(0, lrint((max - lpcs[n]) * irange) - 1); - pow = wmavoice_denoise_power_table[s->denoise_strength][idx]; - lpcs[n] = angle_mul * pow; + pwr = wmavoice_denoise_power_table[s->denoise_strength][idx]; + lpcs[n] = angle_mul * pwr; /* 70.57 =~ 1/log10(1.0331663) */ - idx = (pow * gain_mul - 0.0295) * 70.570526123; + idx = (pwr * gain_mul - 0.0295) * 70.570526123; if (idx > 127) { // fallback if index falls outside table range coeffs[n] = wmavoice_energy_table[127] * powf(1.0331663, idx - 127); |