Commit c9a5e22e authored by banan's avatar banan

Missed one log2().


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7117 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 657e73a6
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment