From 66537c7efd4ec69056f116e6c10480bb1655b680 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 6 Jul 2013 16:07:09 +0200 Subject: [PATCH] avcodec/x86/cabac: Disable get_cabac_bypass_x86() on broken llvm/clang This should fix fate on these platforms Signed-off-by: Michael Niedermayer --- libavcodec/x86/cabac.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/x86/cabac.h b/libavcodec/x86/cabac.h index 1c24dc3398..ee5885f471 100644 --- a/libavcodec/x86/cabac.h +++ b/libavcodec/x86/cabac.h @@ -230,6 +230,7 @@ static av_always_inline int get_cabac_bypass_sign_x86(CABACContext *c, int val) return val; } +#if !BROKEN_COMPILER #define get_cabac_bypass get_cabac_bypass_x86 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; } +#endif /* !BROKEN_COMPILER */ #endif /* HAVE_INLINE_ASM */ #endif /* AVCODEC_X86_CABAC_H */