aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm/mathops.h
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-03-05 21:20:13 +0000
committerMåns Rullgård <mans@mansr.com>2009-03-05 21:20:13 +0000
commit35690321a72348b8c45bdaa1618d98ad7e628b80 (patch)
treee30b43d08fe8194e5966aa9ff498937ffbe3137b /libavcodec/arm/mathops.h
parent1e65f62e2b15f087e14d62f567266994f1a9ec59 (diff)
downloadffmpeg-35690321a72348b8c45bdaa1618d98ad7e628b80.tar.gz
ARM: disable inline asm for armcc
Originally committed as revision 17831 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/arm/mathops.h')
-rw-r--r--libavcodec/arm/mathops.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/arm/mathops.h b/libavcodec/arm/mathops.h
index 0d8e044241..2da9c1cab3 100644
--- a/libavcodec/arm/mathops.h
+++ b/libavcodec/arm/mathops.h
@@ -25,6 +25,8 @@
#include <stdint.h>
#include "libavutil/common.h"
+#if HAVE_INLINE_ASM
+
# define MULL MULL
static inline av_const int MULL(int a, int b, unsigned shift)
{
@@ -108,4 +110,6 @@ static inline av_const int mid_pred(int a, int b, int c)
return m;
}
+#endif /* HAVE_INLINE_ASM */
+
#endif /* AVCODEC_ARM_MATHOPS_H */