diff options
author | James Almer <jamrial@gmail.com> | 2019-10-21 17:01:39 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-10-21 17:01:39 -0300 |
commit | 27bae5aacafed376350533e7cde2b396b589a15c (patch) | |
tree | 911c7498cc4e83d4e8a10eb9c23c0a19eb82cc4c /libavfilter/x86 | |
parent | ccd9bca15a46a1de4fb536dd097153a270ae3b9c (diff) | |
download | ffmpeg-27bae5aacafed376350533e7cde2b396b589a15c.tar.gz |
x86/vf_transpose: fix cpuflags check
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/x86')
-rw-r--r-- | libavfilter/x86/vf_transpose_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/x86/vf_transpose_init.c b/libavfilter/x86/vf_transpose_init.c index 7990916350..f1a9cd058b 100644 --- a/libavfilter/x86/vf_transpose_init.c +++ b/libavfilter/x86/vf_transpose_init.c @@ -39,11 +39,11 @@ av_cold void ff_transpose_init_x86(TransVtable *v, int pixstep) { int cpu_flags = av_get_cpu_flags(); - if (EXTERNAL_SSE4(cpu_flags) && pixstep == 1) { + if (EXTERNAL_SSE2(cpu_flags) && pixstep == 1) { v->transpose_8x8 = ff_transpose_8x8_8_sse2; } - if (ARCH_X86_64 && EXTERNAL_SSE4(cpu_flags) && pixstep == 2) { + if (ARCH_X86_64 && EXTERNAL_SSE2(cpu_flags) && pixstep == 2) { v->transpose_8x8 = ff_transpose_8x8_16_sse2; } } |