avcodec/x86/cabac: Disable get_cabac_bypass_x86() on broken llvm/clang
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 6 Jul 2013 14:07:09 +0000 (16:07 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 6 Jul 2013 14:24:27 +0000 (16:24 +0200)
This should fix fate on these platforms

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/x86/cabac.h

index 1c24dc3..ee5885f 100644 (file)
@@ -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 */