Revision 46174079

View differences:

libavcodec/aaccoder.c
804 804
                if (dist > uplim[w*16+g])
805 805
                    step = -step;
806 806
                scf += step;
807
                av_clip_uint8(scf);
807
                scf = av_clip_uint8(scf);
808 808
                step = scf - prev_scf;
809 809
                if (FFABS(step) <= 1 || (step > 0 && scf >= max_scf) || (step < 0 && scf <= min_scf)) {
810 810
                    sce->sf_idx[w*16+g] = av_clip(scf, min_scf, max_scf);

Also available in: Unified diff