diff options
author | James Almer <jamrial@gmail.com> | 2016-02-07 00:52:06 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-02-14 20:00:21 -0300 |
commit | 70d685a77f283b110e7b1ab565ff5de53f752d55 (patch) | |
tree | a1350e3534c7cc0858852ff6caf4e803af6b2367 /libavcodec/x86/mlpdsp_init.c | |
parent | 73a4589d4b0d97cbd6f8bf8be18b78151b657898 (diff) | |
download | ffmpeg-70d685a77f283b110e7b1ab565ff5de53f752d55.tar.gz |
x86: use the new helper macros where useful
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86/mlpdsp_init.c')
-rw-r--r-- | libavcodec/x86/mlpdsp_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/mlpdsp_init.c b/libavcodec/x86/mlpdsp_init.c index e9d9b1bf18..7f5e6b11d5 100644 --- a/libavcodec/x86/mlpdsp_init.c +++ b/libavcodec/x86/mlpdsp_init.c @@ -199,6 +199,6 @@ av_cold void ff_mlpdsp_init_x86(MLPDSPContext *c) #endif if (ARCH_X86_64 && EXTERNAL_SSE4(cpu_flags)) c->mlp_rematrix_channel = ff_mlp_rematrix_channel_sse4; - if (ARCH_X86_64 && EXTERNAL_AVX2(cpu_flags) && cpu_flags & AV_CPU_FLAG_BMI2) + if (ARCH_X86_64 && EXTERNAL_AVX2_FAST(cpu_flags) && cpu_flags & AV_CPU_FLAG_BMI2) c->mlp_rematrix_channel = ff_mlp_rematrix_channel_avx2_bmi2; } |