Commit 3a1fda0a authored by Panagiotis Issaris's avatar Panagiotis Issaris Committed by Aurelien Jacobs

clip_uint8 should return an uint8_t instead of an int (patch by Panagiotis...

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
parent 2805e3b4
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment