aacenc: Remove an unnecessary division from the TLS.

Originally committed as revision 23368 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Alex Converse
2010-05-28 21:29:56 +00:00
parent 911fbc452b
commit c91dce994d

View File

@@ -712,12 +712,12 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx,
sce->ics.swb_sizes[g], sce->ics.swb_sizes[g],
sce->sf_idx[w*16+g], sce->sf_idx[w*16+g],
cb, cb,
lambda, 1.0f,
INFINITY, INFINITY,
&b); &b);
bits += b; bits += b;
} }
dists[w*16+g] = (dist - bits) / lambda; dists[w*16+g] = dist - bits;
if (prev != -1) { if (prev != -1) {
bits += ff_aac_scalefactor_bits[sce->sf_idx[w*16+g] - prev + SCALE_DIFF_ZERO]; bits += ff_aac_scalefactor_bits[sce->sf_idx[w*16+g] - prev + SCALE_DIFF_ZERO];
} }