Commit 66537c7e authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/x86/cabac: Disable get_cabac_bypass_x86() on broken llvm/clang

This should fix fate on these platforms
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 32de2805
...@@ -230,6 +230,7 @@ static av_always_inline int get_cabac_bypass_sign_x86(CABACContext *c, int val) ...@@ -230,6 +230,7 @@ static av_always_inline int get_cabac_bypass_sign_x86(CABACContext *c, int val)
return val; return val;
} }
#if !BROKEN_COMPILER
#define get_cabac_bypass get_cabac_bypass_x86 #define get_cabac_bypass get_cabac_bypass_x86
static av_always_inline int get_cabac_bypass_x86(CABACContext *c) static av_always_inline int get_cabac_bypass_x86(CABACContext *c)
{ {
...@@ -269,6 +270,7 @@ static av_always_inline int get_cabac_bypass_x86(CABACContext *c) ...@@ -269,6 +270,7 @@ static av_always_inline int get_cabac_bypass_x86(CABACContext *c)
); );
return res; return res;
} }
#endif /* !BROKEN_COMPILER */
#endif /* HAVE_INLINE_ASM */ #endif /* HAVE_INLINE_ASM */
#endif /* AVCODEC_X86_CABAC_H */ #endif /* AVCODEC_X86_CABAC_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment