Revision f66e4f5f libavcodec/resample2.c

View differences:

libavcodec/resample2.c
121 121

  
122 122
        /* normalize so that an uniform color remains the same */
123 123
        for(i=0;i<tap_count;i++) {
124
            v = clip(lrintf(tab[i] * scale / norm + e), FELEM_MIN, FELEM_MAX);
124
            v = av_clip(lrintf(tab[i] * scale / norm + e), FELEM_MIN, FELEM_MAX);
125 125
            filter[ph * tap_count + i] = v;
126 126
            e += tab[i] * scale / norm - v;
127 127
        }

Also available in: Unified diff