Commit cedb8f80 authored by aurel's avatar aurel

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 >)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5336 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a51975d8
...@@ -437,7 +437,7 @@ static inline int clip(int a, int amin, int amax) ...@@ -437,7 +437,7 @@ static inline int clip(int a, int amin, int amax)
return a; return a;
} }
static inline int clip_uint8(int a) static inline uint8_t clip_uint8(int a)
{ {
if (a&(~255)) return (-a)>>31; if (a&(~255)) return (-a)>>31;
else return a; 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