diff options
author | Benjamin Larsson <banan@ludd.ltu.se> | 2006-11-17 21:43:46 +0000 |
---|---|---|
committer | Benjamin Larsson <banan@ludd.ltu.se> | 2006-11-17 21:43:46 +0000 |
commit | 3644d4724120defabf83b726caf097552fbb417d (patch) | |
tree | e285ba088c086c5e0b5e4c02baa36319f6feab10 /libavcodec | |
parent | 468f8102d5a1aedac7b77736504ac45c96a364aa (diff) | |
download | ffmpeg-3644d4724120defabf83b726caf097552fbb417d.tar.gz |
Missed one log2().
Originally committed as revision 7117 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/imc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/imc.c b/libavcodec/imc.c index 5b5f23b92b..7360b64096 100644 --- a/libavcodec/imc.c +++ b/libavcodec/imc.c @@ -301,7 +301,7 @@ static int bit_allocation (IMCContext* q, int stream_format_code, int freebits, 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; |