diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2015-10-26 02:08:58 -0500 |
---|---|---|
committer | Rodger Combs <rodger.combs@gmail.com> | 2015-10-28 04:23:14 -0500 |
commit | 1e477a970fd57f83b210b3cbc77698891d6bdf78 (patch) | |
tree | ae0b4eb41184cba6f6d548a43b9c94faa7e15a21 /libavutil/x86/cpu.c | |
parent | 057ce755b9370629bcc840c998d5344099e46183 (diff) | |
download | ffmpeg-streaming-1e477a970fd57f83b210b3cbc77698891d6bdf78.zip ffmpeg-streaming-1e477a970fd57f83b210b3cbc77698891d6bdf78.tar.gz |
lavu: add AESNI CPU flag
Diffstat (limited to 'libavutil/x86/cpu.c')
-rw-r--r-- | libavutil/x86/cpu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/x86/cpu.c b/libavutil/x86/cpu.c index 7a5d4e6..f57d72d 100644 --- a/libavutil/x86/cpu.c +++ b/libavutil/x86/cpu.c @@ -126,6 +126,8 @@ int ff_get_cpu_flags_x86(void) rval |= AV_CPU_FLAG_SSE4; if (ecx & 0x00100000 ) rval |= AV_CPU_FLAG_SSE42; + if (ecx & 0x01000000 ) + rval |= AV_CPU_FLAG_AESNI; #if HAVE_AVX /* Check OXSAVE and AVX bits */ if ((ecx & 0x18000000) == 0x18000000) { |