Commit fee21190 authored by alexc's avatar alexc

aacenc: Remove an unnecessary division from the TLS.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@23368 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent cec4bdc4
...@@ -712,12 +712,12 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx, ...@@ -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];
} }
......
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