mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
swscale/ops: fix build with msvc
x86/ops.c(500): error C2099: initializer is not a constant
This commit is contained in:
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user