diff options
author | Alex Converse <alex.converse@gmail.com> | 2008-12-09 11:35:08 +0000 |
---|---|---|
committer | Robert Swain <robert.swain@gmail.com> | 2008-12-09 11:35:08 +0000 |
commit | 88212105750805334e9fb9ae1a590458730acb86 (patch) | |
tree | 6e9542cf62aaf4673565a60eff564696655725d6 /libavcodec | |
parent | dbbec0c2f24dcd79c27dab14329905deda36b807 (diff) | |
download | ffmpeg-88212105750805334e9fb9ae1a590458730acb86.tar.gz |
AAC: Remove unnecessary fabsf()
Patch by Alex Converse (alex converse gmail com)
Originally committed as revision 16039 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/aac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aac.c b/libavcodec/aac.c index bbd1da305e..b58fa87432 100644 --- a/libavcodec/aac.c +++ b/libavcodec/aac.c @@ -803,7 +803,7 @@ static int decode_spectrum_and_dequant(AACContext * ac, float coef[1024], GetBit return -1; } n = (1<<n) + get_bits(gb, n); - coef[coef_tmp_idx + j] *= cbrtf(fabsf(n)) * n; + coef[coef_tmp_idx + j] *= cbrtf(n) * n; }else coef[coef_tmp_idx + j] *= vq_ptr[j]; } |