summaryrefslogtreecommitdiff
path: root/libavcodec/x86/cabac.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 /libavcodec/x86/cabac.h
parentfec512a52cdd1bab84958474cc160fdb7be81dec (diff)
parentdc5385806339f90b4eb074d9002205ebb4010cc2 (diff)
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 'libavcodec/x86/cabac.h')
-rw-r--r--libavcodec/x86/cabac.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/x86/cabac.h b/libavcodec/x86/cabac.h
index 86801ff258..3fcd8abbc9 100644
--- a/libavcodec/x86/cabac.h
+++ b/libavcodec/x86/cabac.h
@@ -27,6 +27,8 @@
#include "libavutil/internal.h"
#include "config.h"
+#if HAVE_INLINE_ASM
+
#ifdef BROKEN_RELOCATIONS
#define TABLES_ARG , "r"(tables)
@@ -220,4 +222,5 @@ static av_always_inline int get_cabac_bypass_sign_x86(CABACContext *c, int val)
return val;
}
+#endif /* HAVE_INLINE_ASM */
#endif /* AVCODEC_X86_CABAC_H */