[Ffmpeg-cvslog] r7117 - trunk/libavcodec/imc.c

banan subversion
Fri Nov 17 22:43:46 CET 2006


Author: banan
Date: Fri Nov 17 22:43:46 2006
New Revision: 7117

Modified:
   trunk/libavcodec/imc.c

Log:
Missed one log2().


Modified: trunk/libavcodec/imc.c
==============================================================================
--- trunk/libavcodec/imc.c	(original)
+++ trunk/libavcodec/imc.c	Fri Nov 17 22:43:46 2006
@@ -301,7 +301,7 @@
         highest = FFMAX(highest, q->flcoeffs1[i]);
 
     for(i = 0; i < BANDS-1; i++) {
-        q->flcoeffs4[i] = q->flcoeffs3[i] - log2(q->flcoeffs5[i]);
+        q->flcoeffs4[i] = q->flcoeffs3[i] - log(q->flcoeffs5[i])/log(2);
     }
     q->flcoeffs4[BANDS - 1] = limit;
 




More information about the ffmpeg-cvslog mailing list