| commit | aac73df1a7b2e84e1930fa63ac6d7983cfdba543 | [log] [tgz] |
|---|---|---|
| author | Ronald S. Bultje <rbultje@google.com> | Wed Feb 06 12:45:28 2013 -0800 |
| committer | Ronald S. Bultje <rbultje@google.com> | Wed Feb 06 16:12:56 2013 -0800 |
| tree | c9bf85c7aabdde05d3f8e221605fc4ec84c7e86c | |
| parent | a788e0fe63e90dca31c67c6ddc21658f86d8a49a [diff] [blame] |
Use configure checks for various inline keywords. Change-Id: I8508f1a3d3430f998bb9295f849e88e626a52a24
diff --git a/vp9/common/vp9_common.h b/vp9/common/vp9_common.h index 2e1ee4b..4295eba 100644 --- a/vp9/common/vp9_common.h +++ b/vp9/common/vp9_common.h
@@ -42,7 +42,7 @@ #define vp9_zero_array(Dest, N) vpx_memset(Dest, 0, N * sizeof(*Dest)); -static __inline uint8_t clip_pixel(int val) { +static INLINE uint8_t clip_pixel(int val) { return (val > 255) ? 255u : (val < 0) ? 0u : val; }