summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2008-12-09 11:35:08 +0000
committerRobert Swain <robert.swain@gmail.com>2008-12-09 11:35:08 +0000
commit88212105750805334e9fb9ae1a590458730acb86 (patch)
tree6e9542cf62aaf4673565a60eff564696655725d6 /libavcodec
parentdbbec0c2f24dcd79c27dab14329905deda36b807 (diff)
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.c2
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];
}