summaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/h264_i386.h
diff options
context:
space:
mode:
authorMatt Oliver <protogonoi@gmail.com>2014-04-10 17:19:11 +1000
committerMichael Niedermayer <michaelni@gmx.at>2014-04-10 17:47:22 +0200
commitd1e6e5c88733e268d8a099191602d1aefe858a45 (patch)
tree08145e78e51cfeb34cfe1991b4c3500daa914a7a /libavcodec/x86/h264_i386.h
parent476471495265a5bfa52f1235aa432d7409e28136 (diff)
downloadffmpeg-streaming-d1e6e5c88733e268d8a099191602d1aefe858a45.zip
ffmpeg-streaming-d1e6e5c88733e268d8a099191602d1aefe858a45.tar.gz
avcodec/x86: Exclude broken get_cabac under icl.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/h264_i386.h')
-rw-r--r--libavcodec/x86/h264_i386.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/h264_i386.h b/libavcodec/x86/h264_i386.h
index 9d811f0..92c4b09 100644
--- a/libavcodec/x86/h264_i386.h
+++ b/libavcodec/x86/h264_i386.h
@@ -38,7 +38,7 @@
//FIXME use some macros to avoid duplicating get_cabac (cannot be done yet
//as that would make optimization work hard)
-#if HAVE_7REGS
+#if HAVE_7REGS && !BROKEN_COMPILER
#define decode_significance decode_significance_x86
static int decode_significance_x86(CABACContext *c, int max_coeff,
uint8_t *significant_coeff_ctx_base,
@@ -200,7 +200,7 @@ static int decode_significance_8x8_x86(CABACContext *c,
);
return coeff_count;
}
-#endif /* HAVE_7REGS && !defined(BROKEN_RELOCATIONS) */
+#endif /* HAVE_7REGS && BROKEN_COMPILER */
#endif /* HAVE_INLINE_ASM */
#endif /* AVCODEC_X86_H264_I386_H */
OpenPOWER on IntegriCloud