From 8f7513b7c0aec45bf163c107284bccb86aa478ef Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 7 Mar 2022 18:35:47 +0000 Subject: upsampling_neon.c: fix WEBP_SWAP_16BIT_CSP check this is always defined by default to 0 since: v0.6.0-158-g663a6d9d unify the ALTERNATE_CODE flag usage previously the !defined() check would cause a mismatch between C and assembly. Change-Id: Idca0b8e39ca90d63785fd4125aeb7af86c5aae61 --- src/dsp/upsampling_neon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dsp/upsampling_neon.c b/src/dsp/upsampling_neon.c index 6ba71a7d..bbc000ca 100644 --- a/src/dsp/upsampling_neon.c +++ b/src/dsp/upsampling_neon.c @@ -111,7 +111,7 @@ static const int16_t kCoeffs1[4] = { 19077, 26149, 6419, 13320 }; vst4_u8(out, v255_r_g_b); \ } while (0) -#if !defined(WEBP_SWAP_16BIT_CSP) +#if (WEBP_SWAP_16BIT_CSP == 0) #define ZIP_U8(lo, hi) vzip_u8((lo), (hi)) #else #define ZIP_U8(lo, hi) vzip_u8((hi), (lo)) -- cgit v1.2.1