aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/x86/intmath.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-25 16:55:31 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-25 16:55:31 +0200
commita6ff8514a9bdc93739a73d28913c6b457baff32d (patch)
treeed4f3c885586b33b7d8229e606acc80cd8c8ca50 /libavutil/x86/intmath.h
parentfec512a52cdd1bab84958474cc160fdb7be81dec (diff)
parentdc5385806339f90b4eb074d9002205ebb4010cc2 (diff)
downloadffmpeg-a6ff8514a9bdc93739a73d28913c6b457baff32d.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: wtv: Check the return value from gmtime x86: fft: convert sse inline asm to yasm x86: place some inline asm under #if HAVE_INLINE_ASM Conflicts: libavcodec/x86/fft_sse.c libavformat/wtv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/x86/intmath.h')
-rw-r--r--libavutil/x86/intmath.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/x86/intmath.h b/libavutil/x86/intmath.h
index 4b386432c2..dcce7e463b 100644
--- a/libavutil/x86/intmath.h
+++ b/libavutil/x86/intmath.h
@@ -21,6 +21,7 @@
#ifndef AVUTIL_X86_INTMATH_H
#define AVUTIL_X86_INTMATH_H
+#if HAVE_INLINE_ASM
#define FASTDIV(a,b) \
({\
int ret, dmy;\
@@ -31,5 +32,6 @@
);\
ret;\
})
+#endif
#endif /* AVUTIL_X86_INTMATH_H */