diff options
author | Måns Rullgård <mans@mansr.com> | 2010-07-07 21:27:48 +0400 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-07-07 21:27:48 +0400 |
commit | edd7fa82d7db69ae79b4c8994dcbdd0d4e26d907 (patch) | |
tree | 6e5b844f700dda75c647deb8b8cb1548857a8aa1 /libavutil | |
parent | 216b43aed234f82a6aacdae8b9ebee420c6a6d8d (diff) |
ARM: intmath.h cosmetics
Originally committed as revision 24088 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/arm/intmath.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libavutil/arm/intmath.h b/libavutil/arm/intmath.h index 48a05eaa1b..5514020339 100644 --- a/libavutil/arm/intmath.h +++ b/libavutil/arm/intmath.h @@ -27,6 +27,8 @@ #if HAVE_INLINE_ASM #if HAVE_ARMV6 + +#define FASTDIV FASTDIV static inline av_const int FASTDIV(int a, int b) { int r, t; @@ -37,7 +39,10 @@ static inline av_const int FASTDIV(int a, int b) : "=&r"(r), "=&r"(t) : "r"(a), "r"(b), "r"(ff_inverse)); return r; } -#else + +#else /* HAVE_ARMV6 */ + +#define FASTDIV FASTDIV static inline av_const int FASTDIV(int a, int b) { int r, t; @@ -45,9 +50,8 @@ static inline av_const int FASTDIV(int a, int b) : "=&r"(r), "=&r"(t) : "r"(a), "r"(ff_inverse[b])); return r; } -#endif -#define FASTDIV FASTDIV +#endif /* HAVE_ARMV6 */ #endif /* HAVE_INLINE_ASM */ |