[FFmpeg-cvslog] lavc/vulkan/common: fix reverse4's incorrect swizzle
Lynne
git at videolan.org
Wed Nov 20 06:24:27 EET 2024
ffmpeg | branch: master | Lynne <dev at lynne.ee> | Wed Nov 20 05:17:15 2024 +0100| [4d3e96c90c658dbf85ae00ceb8d851689e4b7aca] | committer: Lynne
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.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4d3e96c90c658dbf85ae00ceb8d851689e4b7aca
---
libavcodec/vulkan/common.comp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vulkan/common.comp b/libavcodec/vulkan/common.comp
index deca5d63b1..a28701584e 100644
--- a/libavcodec/vulkan/common.comp
+++ b/libavcodec/vulkan/common.comp
@@ -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)
{
More information about the ffmpeg-cvslog
mailing list