History

aacenc: Remove an unnecessary division from the TLS.

Originally committed as revision 23368 to svn://svn.ffmpeg.org/ffmpeg/trunk

Alex Converse committed 16 years ago

Commit c91dce91 parent 911fbc41 file · +2 −2Browse files

Showing the changes to libavcodec/aaccoder.c (1 of 1 file). Show all

Unified · Split

libavcodec/aaccoder.c+2−2
@@ -712,12 +712,12 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx, · 711 unmodified lines
712712 sce->ics.swb_sizes[g],
713713 sce->sf_idx[w*16+g],
714714 cb,
715− lambda,
715+ 1.0f,
716716 INFINITY,
717717 &b);
718718 bits += b;
719719 }
720− dists[w*16+g] = (dist - bits) / lambda;
720+ dists[w*16+g] = dist - bits;
721721 if (prev != -1) {
722722 bits += ff_aac_scalefactor_bits[sce->sf_idx[w*16+g] - prev + SCALE_DIFF_ZERO];
723723 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t