changeset 8282:f4ead16781e4 libavcodec

AAC: Remove unnecessary fabsf() Patch by Alex Converse (alex converse gmail com)
author superdump
date Tue, 09 Dec 2008 11:35:08 +0000
parents f93efc084e41
children ea8e4095d980
files aac.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/aac.c	Mon Dec 08 21:21:38 2008 +0000
+++ b/aac.c	Tue Dec 09 11:35:08 2008 +0000
@@ -803,7 +803,7 @@
                                         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];
                             }