Mercurial > libavcodec.hg
changeset 4212:68288509a159 libavcodec
Missed one log2().
author | banan |
---|---|
date | Fri, 17 Nov 2006 21:43:46 +0000 |
parents | ff9a94fce879 |
children | 42553b85aa7e |
files | imc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/imc.c Fri Nov 17 06:12:33 2006 +0000 +++ b/imc.c Fri Nov 17 21:43:46 2006 +0000 @@ -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;