diff resample2.c @ 4594:a96d905dcbaa libavcodec

Add av_ prefix to clip functions
author reimar
date Sun, 25 Feb 2007 10:27:12 +0000
parents 34fdffe98bd0
children f5fa13dfd3c8
line wrap: on
line diff
--- a/resample2.c	Sun Feb 25 07:53:44 2007 +0000
+++ b/resample2.c	Sun Feb 25 10:27:12 2007 +0000
@@ -121,7 +121,7 @@
 
         /* 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;
         }