From b181868aba5741a36b8ec56fec6b960313c88a7f Mon Sep 17 00:00:00 2001 From: James Almer Date: Thu, 1 Feb 2024 15:58:25 -0300 Subject: [PATCH] x86/h26x/h2656dsp: add missing preprocessor wrappers Fixes compilation on x86_32 targets. Signed-off-by: James Almer --- libavcodec/x86/h26x/h2656dsp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/x86/h26x/h2656dsp.c b/libavcodec/x86/h26x/h2656dsp.c index 7ef1234936..c402f9e21c 100644 --- a/libavcodec/x86/h26x/h2656dsp.c +++ b/libavcodec/x86/h26x/h2656dsp.c @@ -67,6 +67,8 @@ void ff_h2656_put_uni_##name##W##_##bitd##_##opt(uint8_t *_dst, ptrdiff_t dststr mc_rep_funcs(fname, 12, 8, 32, sse4) \ mc_rep_funcs(fname, 12, 8, 16, sse4) \ +#if ARCH_X86_64 && HAVE_SSE4_EXTERNAL + MC_REP_FUNCS_SSE4(pixels) MC_REP_FUNCS_SSE4(4tap_h) MC_REP_FUNCS_SSE4(4tap_v) @@ -96,3 +98,4 @@ MC_REP_FUNCS_AVX2(4tap_h) MC_REP_FUNCS_AVX2(4tap_v) MC_REP_FUNCS_AVX2(4tap_hv) #endif +#endif