Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -817,7 +817,7 @@ static void search_for_quantizers_twoloop(AVCodecContext *avctx, · 816 unmodified lines | |||
| 817 | int prevsc = sce->sf_idx[w*16+g]; | 817 | int prevsc = sce->sf_idx[w*16+g]; |
| 818 | if (dists[w*16+g] > uplims[w*16+g] && sce->sf_idx[w*16+g] > 60) { | 818 | if (dists[w*16+g] > uplims[w*16+g] && sce->sf_idx[w*16+g] > 60) { |
| 819 | if (find_min_book(maxvals[w*16+g], sce->sf_idx[w*16+g]-1)) | 819 | if (find_min_book(maxvals[w*16+g], sce->sf_idx[w*16+g]-1)) |
| 820 | sce->sf_idx[w*16+g]--; | 820 | sce->sf_idx[w*16+g]--; |
| 821 | else //Try to make sure there is some energy in every band | 821 | else //Try to make sure there is some energy in every band |
| 822 | sce->sf_idx[w*16+g]-=2; | 822 | sce->sf_idx[w*16+g]-=2; |
| 823 | } | 823 | } |