mirror of https://git.ffmpeg.org/ffmpeg.git
x86/scale_avx2: add missing check for AVX2 assembler support
Should fix compilation with old yasm. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
0ab5d7e92b
commit
76a3f961f8
|
@ -106,7 +106,9 @@ REP_RET
|
|||
%endmacro
|
||||
|
||||
%if ARCH_X86_64
|
||||
%if HAVE_AVX2_EXTERNAL
|
||||
INIT_YMM avx2
|
||||
SCALE_FUNC 4
|
||||
SCALE_FUNC X4
|
||||
%endif
|
||||
%endif
|
||||
|
|
Loading…
Reference in New Issue