Revision 00f0b4b9 libavcodec/aaccoder.c

View differences:

libavcodec/aaccoder.c
817 817
                int prevsc = sce->sf_idx[w*16+g];
818 818
                if (dists[w*16+g] > uplims[w*16+g] && sce->sf_idx[w*16+g] > 60) {
819 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 821
                    else //Try to make sure there is some energy in every band
822 822
                        sce->sf_idx[w*16+g]-=2;
823 823
                }

Also available in: Unified diff