diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-02-25 10:27:12 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-02-25 10:27:12 +0000 |
commit | f66e4f5f9eac8eb022fad4f85d8d2e99b26c254f (patch) | |
tree | b733686c3306fa6a6a28e70c1d9507d095e22932 /libavutil | |
parent | 392cf77a4bfd2509fd59da9e5a702ab84476afc0 (diff) | |
download | ffmpeg-f66e4f5f9eac8eb022fad4f85d8d2e99b26c254f.tar.gz |
Add av_ prefix to clip functions
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/common.h b/libavutil/common.h index 057dce46a6..eb531d3d73 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -163,7 +163,7 @@ static inline int mid_pred(int a, int b, int c) * @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 @@ static inline int clip(int a, int amin, int amax) * @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; |