lavc/vulkan/common: fix reverse4's incorrect swizzle

The function is responsible for converting little to big endian.
It had an incorrect swizzle for the last 2 bytes.
This commit is contained in:
Lynne 2024-11-20 05:17:15 +01:00
parent 9691ac6af2
commit 4d3e96c90c
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ uint64_t align64(uint64_t src, uint64_t a)
} }
#define reverse4(src) \ #define reverse4(src) \
(pack32(unpack8(uint32_t(src)).wzxy)) (pack32(unpack8(uint32_t(src)).wzyx))
uint64_t reverse8(uint64_t src) uint64_t reverse8(uint64_t src)
{ {