# HG changeset patch # User alexc # Date 1275082196 0 # Node ID 233b2faac0766ee514ff1aea3db47a5a53cd4cad # Parent 9a13275c05c421b0bd6b7caf173e2cc6645e7c26 aacenc: Remove an unnecessary division from the TLS. diff -r 9a13275c05c4 -r 233b2faac076 aaccoder.c --- a/aaccoder.c Fri May 28 20:45:35 2010 +0000 +++ b/aaccoder.c Fri May 28 21:29:56 2010 +0000 @@ -712,12 +712,12 @@ sce->ics.swb_sizes[g], sce->sf_idx[w*16+g], cb, - lambda, + 1.0f, INFINITY, &b); bits += b; } - dists[w*16+g] = (dist - bits) / lambda; + dists[w*16+g] = dist - bits; if (prev != -1) { bits += ff_aac_scalefactor_bits[sce->sf_idx[w*16+g] - prev + SCALE_DIFF_ZERO]; }