mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 18:32:22 +00:00
cosmetic
Originally committed as revision 5690 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a7702890bd
commit
18769c0a79
@ -410,12 +410,9 @@ static inline int mid_pred(int a, int b, int c)
|
||||
*/
|
||||
static inline int clip(int a, int amin, int amax)
|
||||
{
|
||||
if (a < amin)
|
||||
return amin;
|
||||
else if (a > amax)
|
||||
return amax;
|
||||
else
|
||||
return a;
|
||||
if (a < amin) return amin;
|
||||
else if (a > amax) return amax;
|
||||
else return a;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user