diff options
author | Alex Converse <alex.converse@gmail.com> | 2010-05-28 21:29:56 +0000 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2010-05-28 21:29:56 +0000 |
commit | c91dce994d38d02431cba324775bce8b969428a5 (patch) | |
tree | e7611bd9caec2ff7312f8f4effee02076a7dc4d0 /libavcodec/aaccoder.c | |
parent | 911fbc452bd4f4d9563dee5d9759f054f76ef33a (diff) | |
download | ffmpeg-c91dce994d38d02431cba324775bce8b969428a5.tar.gz |
aacenc: Remove an unnecessary division from the TLS.
Originally committed as revision 23368 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aaccoder.c')
-rw-r--r-- | libavcodec/aaccoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/aaccoder.c b/libavcodec/aaccoder.c index 1af09d4d7d..f3193cddf6 100644 --- a/libavcodec/aaccoder.c +++ b/libavcodec/aaccoder.c @@ -712,12 +712,12 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx, 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]; } |