[FFmpeg-cvslog] r24225 - trunk/libavcodec/aacdec.c

alexc subversion
Mon Jul 12 23:36:11 CEST 2010


Author: alexc
Date: Mon Jul 12 23:36:10 2010
New Revision: 24225

Log:
aacdec: Eliminate the use of doubles in decode_cce().

Modified:
   trunk/libavcodec/aacdec.c

Modified: trunk/libavcodec/aacdec.c
==============================================================================
--- trunk/libavcodec/aacdec.c	Mon Jul 12 23:35:43 2010	(r24224)
+++ trunk/libavcodec/aacdec.c	Mon Jul 12 23:36:10 2010	(r24225)
@@ -1504,7 +1504,7 @@ static int decode_cce(AACContext *ac, Ge
         if (c) {
             cge = coup->coupling_point == AFTER_IMDCT ? 1 : get_bits1(gb);
             gain = cge ? get_vlc2(gb, vlc_scalefactors.table, 7, 3) - 60: 0;
-            gain_cache = pow(scale, -gain);
+            gain_cache = powf(scale, -gain);
         }
         if (coup->coupling_point == AFTER_IMDCT) {
             coup->gain[c][0] = gain_cache;
@@ -1521,7 +1521,7 @@ static int decode_cce(AACContext *ac, Ge
                                     s  -= 2 * (t & 0x1);
                                     t >>= 1;
                                 }
-                                gain_cache = pow(scale, -t) * s;
+                                gain_cache = powf(scale, -t) * s;
                             }
                         }
                         coup->gain[c][idx] = gain_cache;



More information about the ffmpeg-cvslog mailing list