Originally committed as revision 19480 to svn://svn.ffmpeg.org/ffmpeg/trunk
Showing the changes to libavcodec/aaccoder.c (1 of 2 files). Show all
Unified · Split
| @@ -677,8 +677,10 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx, · 676 unmodified lines | |||
| 677 | float mindist = INFINITY; | 677 | float mindist = INFINITY; |
| 678 | int minbits = 0; | 678 | int minbits = 0; |
| 679 | 679 | ||
| 680 | if (sce->zeroes[w*16+g] || sce->sf_idx[w*16+g] >= 218) | 680 | if (sce->zeroes[w*16+g] || sce->sf_idx[w*16+g] >= 218) { |
| 681 | start += sce->ics.swb_sizes[g]; | ||
| 681 | continue; | 682 | continue; |
| 683 | } | ||
| 682 | minscaler = FFMIN(minscaler, sce->sf_idx[w*16+g]); | 684 | minscaler = FFMIN(minscaler, sce->sf_idx[w*16+g]); |
| 683 | for (cb = 0; cb <= ESC_BT; cb++) { | 685 | for (cb = 0; cb <= ESC_BT; cb++) { |
| 684 | float dist = 0.0f; | 686 | float dist = 0.0f; |