mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-17 21:14:47 +00:00
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:
parent
9691ac6af2
commit
4d3e96c90c
@ -68,7 +68,7 @@ uint64_t align64(uint64_t src, uint64_t a)
|
||||
}
|
||||
|
||||
#define reverse4(src) \
|
||||
(pack32(unpack8(uint32_t(src)).wzxy))
|
||||
(pack32(unpack8(uint32_t(src)).wzyx))
|
||||
|
||||
uint64_t reverse8(uint64_t src)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user