aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/x86/cpu.c
diff options
context:
space:
mode:
authoralexander schmid <sa.lex@web.de>2018-07-16 10:43:11 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2018-07-19 20:17:44 +0200
commitb23c4a9dbd8ef7399ede9d2c02ccaf5a6b9c412c (patch)
treefff71591bd439df8e62762d02802c7592b693632 /libavutil/x86/cpu.c
parent93e157f40f415119ea0f94b35596965e9870f863 (diff)
downloadffmpeg-b23c4a9dbd8ef7399ede9d2c02ccaf5a6b9c412c.tar.gz
lavu/x86/cpu: Fix aesni detection
Diffstat (limited to 'libavutil/x86/cpu.c')
-rw-r--r--libavutil/x86/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/x86/cpu.c b/libavutil/x86/cpu.c
index aca893174e..bcd41a50a2 100644
--- a/libavutil/x86/cpu.c
+++ b/libavutil/x86/cpu.c
@@ -127,7 +127,7 @@ int ff_get_cpu_flags_x86(void)
rval |= AV_CPU_FLAG_SSE4;
if (ecx & 0x00100000 )
rval |= AV_CPU_FLAG_SSE42;
- if (ecx & 0x01000000 )
+ if (ecx & 0x02000000 )
rval |= AV_CPU_FLAG_AESNI;
#if HAVE_AVX
/* Check OXSAVE and AVX bits */