mirror of https://git.ffmpeg.org/ffmpeg.git
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) \
|
#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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue