Skip to content

Commit

Permalink
swscale/x86/output: add missing AVX2 support preprocessor wrappers
Browse files Browse the repository at this point in the history
Fixes compilation with old yasm

Signed-off-by: James Almer <[email protected]>
  • Loading branch information
jamrial committed Aug 20, 2020
1 parent 03c8fe4 commit 621e262
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libswscale/x86/output.asm
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,9 @@ nv12_inner_%1:
RET
%endmacro

%if HAVE_AVX2_EXTERNAL
INIT_YMM avx2
yuv2nv12cX_fn yuv2nv12
yuv2nv12cX_fn yuv2nv21
%endif
%endif ; ARCH_X86_64

0 comments on commit 621e262

Please sign in to comment.