Browse Source

aacenc: Remove an unnecessary division from the TLS.

Originally committed as revision 23368 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Alex Converse 15 years ago
parent
commit
c91dce994d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/aaccoder.c

+ 2
- 2
libavcodec/aaccoder.c View File

@@ -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…
Cancel
Save