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 /libswresample/x86/audio_convert_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 'libswresample/x86/audio_convert_init.c')
-rw-r--r-- | libswresample/x86/audio_convert_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/x86/audio_convert_init.c b/libswresample/x86/audio_convert_init.c index 5e5e91d142..bb89cf604b 100644 --- a/libswresample/x86/audio_convert_init.c +++ b/libswresample/x86/audio_convert_init.c @@ -174,7 +174,7 @@ MULTI_CAPS_FUNC(SSE2, sse2) ac->simd_f = ff_pack_8ch_float_to_int32_a_avx; } } - if(EXTERNAL_AVX2(mm_flags)) { + if(EXTERNAL_AVX2_FAST(mm_flags)) { if( out_fmt == AV_SAMPLE_FMT_S32 && in_fmt == AV_SAMPLE_FMT_FLT || out_fmt == AV_SAMPLE_FMT_S32P && in_fmt == AV_SAMPLE_FMT_FLTP) ac->simd_f = ff_float_to_int32_a_avx2; } |