Originally committed as revision 5690 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2006-07-09 10:56:39 +00:00
parent a7702890bd
commit 18769c0a79

View File

@ -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;
}
/**