[FFmpeg-cvslog] r16039 - trunk/libavcodec/aac.c

superdump subversion
Tue Dec 9 12:35:08 CET 2008


Author: superdump
Date: Tue Dec  9 12:35:08 2008
New Revision: 16039

Log:
AAC: Remove unnecessary fabsf()

Patch by Alex Converse (alex converse gmail com)


Modified:
   trunk/libavcodec/aac.c

Modified: trunk/libavcodec/aac.c
==============================================================================
--- trunk/libavcodec/aac.c	(original)
+++ trunk/libavcodec/aac.c	Tue Dec  9 12:35:08 2008
@@ -803,7 +803,7 @@ static int decode_spectrum_and_dequant(A
                                         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];
                             }




More information about the ffmpeg-cvslog mailing list