changeset 65:bc27d8c5dc2e libavcodec

renamed log2 to av_log2
author glantau
date Wed, 15 Aug 2001 13:07:42 +0000
parents 5aa6292a1660
children 2bb522261514
files ac3enc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ac3enc.c	Mon Aug 13 21:48:05 2001 +0000
+++ b/ac3enc.c	Wed Aug 15 13:07:42 2001 +0000
@@ -1195,7 +1195,7 @@
     for(i=0;i<n;i++) {
         v |= abs(tab[i]);
     }
-    return log2(v);
+    return av_log2(v);
 }
 
 static void lshift_tab(INT16 *tab, int n, int lshift)
@@ -1307,7 +1307,7 @@
                 if (v == 0)
                     e = 24;
                 else {
-                    e = 23 - log2(v) + exp_samples[i][ch];
+                    e = 23 - av_log2(v) + exp_samples[i][ch];
                     if (e >= 24) {
                         e = 24;
                         mdct_coef[i][ch][j] = 0;