swscale/ops: fix build with msvc

x86/ops.c(500): error C2099: initializer is not a constant
This commit is contained in:
Zhao Zhili
2025-09-02 12:07:32 +08:00
committed by Zhao Zhili
parent ef856ef93e
commit a0e00bed88

View File

@@ -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) \