diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-07-09 10:56:39 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-07-09 10:56:39 +0000 |
commit | 18769c0a7974a1ba7385eb030e4400046df5330d (patch) | |
tree | 25995af748ae992b3907522d967af0700064564e | |
parent | a7702890bd470fc1683578609b7e1c5a2acfcd94 (diff) | |
download | ffmpeg-18769c0a7974a1ba7385eb030e4400046df5330d.tar.gz |
cosmetic
Originally committed as revision 5690 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavutil/common.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libavutil/common.h b/libavutil/common.h index 5318d3cb42..bdc3cc35b4 100644 --- a/libavutil/common.h +++ b/libavutil/common.h @@ -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; } /** |