]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/resample2.c
typo: unkown->unknown
[ffmpeg] / libavcodec / resample2.c
index 3ae0ba855c5bac6367860a7d9f56c2b7377e4fd2..9cc2edbe8f4e90a3086b4328a3a7526f266883d8 100644 (file)
@@ -121,7 +121,7 @@ void av_build_filter(FELEM *filter, double factor, int tap_count, int phase_coun
 
         /* normalize so that an uniform color remains the same */
         for(i=0;i<tap_count;i++) {
-            v = clip(lrintf(tab[i] * scale / norm + e), FELEM_MIN, FELEM_MAX);
+            v = av_clip(lrintf(tab[i] * scale / norm + e), FELEM_MIN, FELEM_MAX);
             filter[ph * tap_count + i] = v;
             e += tab[i] * scale / norm - v;
         }