summaryrefslogtreecommitdiffstats
path: root/libswscale/x86/ops.c
diff options
context:
space:
mode:
authorZhao Zhili <[email protected]>2025-09-02 12:07:32 +0800
committerZhao Zhili <[email protected]>2025-09-02 10:28:56 +0000
commita0e00bed88cc06b109e446a8f79833b595dba03a (patch)
tree0b73c8be545efa4048f098e066561c53611efef9 /libswscale/x86/ops.c
parentef856ef93ef6c449f546c10f86c820d4dafe2fdc (diff)
swscale/ops: fix build with msvc
x86/ops.c(500): error C2099: initializer is not a constant
Diffstat (limited to 'libswscale/x86/ops.c')
-rw-r--r--libswscale/x86/ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/x86/ops.c b/libswscale/x86/ops.c
index 836c5f0d13..b3fe5fb014 100644
--- a/libswscale/x86/ops.c
+++ b/libswscale/x86/ops.c
@@ -130,7 +130,7 @@ static int setup_clear(const SwsOp *op, SwsOpPriv *out)
#define DECL_SWIZZLE(EXT, X, Y, Z, W) \
DECL_ASM(U8, swizzle_##X##Y##Z##W##EXT, \
.op = SWS_OP_SWIZZLE, \
- .swizzle = SWS_SWIZZLE( X, Y, Z, W ), \
+ .swizzle.in = {X, Y, Z, W}, \
);
#define DECL_CONVERT(EXT, FROM, TO) \