mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-02 21:12:12 +00:00
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:
parent
911fbc452b
commit
c91dce994d
@ -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];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user