summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2006-04-30 17:49:11 +0000
committerAurelien Jacobs <aurel@gnuage.org>2006-04-30 17:49:11 +0000
commit3a1fda0a37e1829784b701cb9b187cc640813e0c (patch)
tree4e4927457b0c79a544aca3f4fd1f0ef838f9c14a /libavutil
parent2805e3b4ebf5486f2993343fe882dd849cc201e9 (diff)
downloadffmpeg-3a1fda0a37e1829784b701cb9b187cc640813e0c.tar.gz
clip_uint8 should return an uint8_t instead of an int (patch by Panagiotis Issaris < takis.issaris _at_ uhasselt.be >)
Originally committed as revision 5336 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/common.h b/libavutil/common.h
index d8f2c40ade..92c0d08552 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -437,7 +437,7 @@ static inline int clip(int a, int amin, int amax)
return a;
}
-static inline int clip_uint8(int a)
+static inline uint8_t clip_uint8(int a)
{
if (a&(~255)) return (-a)>>31;
else return a;