Mercurial > libavcodec.hg
diff aaccoder.c @ 11794:233b2faac076 libavcodec
aacenc: Remove an unnecessary division from the TLS.
| author | alexc |
|---|---|
| date | Fri, 28 May 2010 21:29:56 +0000 |
| parents | 9a13275c05c4 |
| children | 081702713f47 |
line wrap: on
line diff
--- 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]; }
