Mercurial > libavcodec.hg
diff mathops.h @ 4283:d6f83e2f8804 libavcodec
rename always_inline to av_always_inline and move to common.h
author | mru |
---|---|
date | Fri, 08 Dec 2006 00:35:08 +0000 |
parents | 29f5edb4430a |
children | 4394344397d8 |
line wrap: on
line diff
--- a/mathops.h Thu Dec 07 18:35:58 2006 +0000 +++ b/mathops.h Fri Dec 08 00:35:08 2006 +0000 @@ -46,7 +46,7 @@ //gcc 3.4 creates an incredibly bloated mess out of this //# define MULH(a,b) (((int64_t)(a) * (int64_t)(b))>>32) -static always_inline int MULH(int a, int b){ +static av_always_inline int MULH(int a, int b){ return ((int64_t)(a) * (int64_t)(b))>>32; } #endif