# HG changeset patch # User reimar # Date 1172399232 0 # Node ID 0b9b9d10fa1c9ae8bc503057042fb62f1c107c3e # Parent d0dfc9f74bde4b8438081c574062757c4ba6242f Add av_ prefix to clip functions diff -r d0dfc9f74bde -r 0b9b9d10fa1c common.h --- a/common.h Sat Feb 24 19:46:54 2007 +0000 +++ b/common.h Sun Feb 25 10:27:12 2007 +0000 @@ -163,7 +163,7 @@ * @param amax maximum value of the clip range * @return clipped value */ -static inline int clip(int a, int amin, int amax) +static inline int av_clip(int a, int amin, int amax) { if (a < amin) return amin; else if (a > amax) return amax; @@ -175,7 +175,7 @@ * @param a value to clip * @return clipped value */ -static inline uint8_t clip_uint8(int a) +static inline uint8_t av_clip_uint8(int a) { if (a&(~255)) return (-a)>>31; else return a;