[FFmpeg-cvslog] r23368 - trunk/libavcodec/aaccoder.c
alexc
subversion
Fri May 28 23:29:56 CEST 2010
Author: alexc
Date: Fri May 28 23:29:56 2010
New Revision: 23368
Log:
aacenc: Remove an unnecessary division from the TLS.
Modified:
trunk/libavcodec/aaccoder.c
Modified: trunk/libavcodec/aaccoder.c
==============================================================================
--- trunk/libavcodec/aaccoder.c Fri May 28 22:45:35 2010 (r23367)
+++ trunk/libavcodec/aaccoder.c Fri May 28 23:29:56 2010 (r23368)
@@ -712,12 +712,12 @@ static void search_for_quantizers_twoloo
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];
}
More information about the ffmpeg-cvslog
mailing list