summaryrefslogtreecommitdiff
path: root/libavutil/common.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-07-09 10:56:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-07-09 10:56:39 +0000
commit18769c0a7974a1ba7385eb030e4400046df5330d (patch)
tree25995af748ae992b3907522d967af0700064564e /libavutil/common.h
parenta7702890bd470fc1683578609b7e1c5a2acfcd94 (diff)
cosmetic
Originally committed as revision 5690 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/common.h')
-rw-r--r--libavutil/common.h9
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;
}
/**