aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/x86/lls_init.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-06-30 18:58:06 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-06-30 19:03:57 +0200
commit247425241cb3b2b76df1c2aced5ce0d56126b82d (patch)
tree277fa7270ee50eb2ed18242680d6411e2ad2c12d /libavutil/x86/lls_init.c
parent7e112df4709578207c627d895921984d26db32c3 (diff)
downloadffmpeg-247425241cb3b2b76df1c2aced5ce0d56126b82d.tar.gz
avutil/x86: disable ff_evaluate_lls_sse2() for 32bit
It just segfaults on 32bit, thus its disabled until someone fixes it. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/x86/lls_init.c')
-rw-r--r--libavutil/x86/lls_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/x86/lls_init.c b/libavutil/x86/lls_init.c
index eb570428e7..9be0e74dac 100644
--- a/libavutil/x86/lls_init.c
+++ b/libavutil/x86/lls_init.c
@@ -32,7 +32,7 @@ av_cold void ff_init_lls_x86(LLSModel *m)
int cpu_flags = av_get_cpu_flags();
if (EXTERNAL_SSE2(cpu_flags)) {
m->update_lls = ff_update_lls_sse2;
- if (m->indep_count >= 4)
+ if (m->indep_count >= 4 && ARCH_X86_64)
m->evaluate_lls = ff_evaluate_lls_sse2;
}
if (EXTERNAL_AVX(cpu_flags) && 0) {