diff options
author | Robert Swain <robert.swain@gmail.com> | 2008-09-13 20:52:57 +0000 |
---|---|---|
committer | Robert Swain <robert.swain@gmail.com> | 2008-09-13 20:52:57 +0000 |
commit | 70735a3f9e6fa983af93970e56eff649873cd730 (patch) | |
tree | e455163a90dfaa71fb4ab87a2a91927216b95a2b /libavcodec/aac.c | |
parent | 5143684891cae4ec23c599f337c31dd47de13ed3 (diff) | |
download | ffmpeg-70735a3f9e6fa983af93970e56eff649873cd730.tar.gz |
Reindent after last commit
Originally committed as revision 15315 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac.c')
-rw-r--r-- | libavcodec/aac.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/aac.c b/libavcodec/aac.c index d18e25b1df..87005ab8e9 100644 --- a/libavcodec/aac.c +++ b/libavcodec/aac.c @@ -760,12 +760,12 @@ static int decode_spectrum_and_dequant(AACContext * ac, float coef[1024], GetBit while(offsets[idx + 1] <= pulse->pos[i]) idx++; if (band_type[idx] != NOISE_BT && sf[idx]) { - float ico = -pulse->amp[i]; - if (co) { - co /= sf[idx]; - ico = co / sqrtf(sqrtf(fabsf(co))) + (co > 0 ? -ico : ico); - } - coef_base[ pulse->pos[i] ] = cbrtf(fabsf(ico)) * ico * sf[idx]; + float ico = -pulse->amp[i]; + if (co) { + co /= sf[idx]; + ico = co / sqrtf(sqrtf(fabsf(co))) + (co > 0 ? -ico : ico); + } + coef_base[ pulse->pos[i] ] = cbrtf(fabsf(ico)) * ico * sf[idx]; } } } |