mirror of https://git.ffmpeg.org/ffmpeg.git
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)
|
static inline int clip(int a, int amin, int amax)
|
||||||
{
|
{
|
||||||
if (a < amin)
|
if (a < amin) return amin;
|
||||||
return amin;
|
else if (a > amax) return amax;
|
||||||
else if (a > amax)
|
else return a;
|
||||||
return amax;
|
|
||||||
else
|
|
||||||
return a;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue