Originally committed as revision 23368 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavcodec/aaccoder.c (1 of 1 file). Show all
Unified · Split
| @@ -712,12 +712,12 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx, · 711 unmodified lines | ||
| 712 | 712 | sce->ics.swb_sizes[g], |
| 713 | 713 | sce->sf_idx[w*16+g], |
| 714 | 714 | cb, |
| 715 | − lambda, | |
| 715 | + 1.0f, | |
| 716 | 716 | INFINITY, |
| 717 | 717 | &b); |
| 718 | 718 | bits += b; |
| 719 | 719 | } |
| 720 | − dists[w*16+g] = (dist - bits) / lambda; | |
| 720 | + dists[w*16+g] = dist - bits; | |
| 721 | 721 | if (prev != -1) { |
| 722 | 722 | bits += ff_aac_scalefactor_bits[sce->sf_idx[w*16+g] - prev + SCALE_DIFF_ZERO]; |
| 723 | 723 | } |