From 4e63dbeb6d8fc2ceee2ba062356c1a530d801128 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Wed, 4 Mar 2026 23:18:26 +0100 Subject: [PATCH] swscale/ops_chain: add more integer types to SwsOpPriv In particular, I need i32, but the others are also reasonable additions. Sponsored-by: Sovereign Tech Fund Signed-off-by: Niklas Haas --- libswscale/ops_chain.h | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/libswscale/ops_chain.h b/libswscale/ops_chain.h index 7d598c2875..76ab5d964b 100644 --- a/libswscale/ops_chain.h +++ b/libswscale/ops_chain.h @@ -45,12 +45,17 @@ typedef union SwsOpPriv { /* Common types */ void *ptr; - int8_t i8[16]; - uint8_t u8[16]; - uint16_t u16[8]; - int16_t i16[8]; - uint32_t u32[4]; - float f32[4]; + uint8_t u8[16]; + int8_t i8[16]; + uint16_t u16[8]; + int16_t i16[8]; + uint32_t u32[4]; + int32_t i32[4]; + float f32[4]; + uint64_t u64[2]; + int64_t i64[2]; + uintptr_t uptr[2]; + intptr_t iptr[2]; } SwsOpPriv; static_assert(sizeof(SwsOpPriv) == 16, "SwsOpPriv size mismatch");