aacenc: Remove an unnecessary division from the TLS.
Originally committed as revision 23368 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user