aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-10-17 12:18:35 -0300
committerJames Almer <jamrial@gmail.com>2024-10-17 12:18:35 -0300
commitf0e6296ddeaf5c5077f4787080712f8e26a34d77 (patch)
tree9c1a48d40f45cc7d3140cb9f129c3be9fdacd6f0 /libswscale
parent062fcacc8ff65a53a21139e1a9132660c9a5abd3 (diff)
downloadffmpeg-f0e6296ddeaf5c5077f4787080712f8e26a34d77.tar.gz
swscale/output: fix alpha endianness in XV36
Mistakenly written in native endianness in 42098f92662c47659df85173d8076b62a23269aa. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/output.c b/libswscale/output.c
index e684feceda..c95ccdfc36 100644
--- a/libswscale/output.c
+++ b/libswscale/output.c
@@ -2716,7 +2716,7 @@ yuv2xv36_X_c(SwsContext *c, const int16_t *lumFilter,
output_pixels(dest + 8 * i + 2, Y, 15, 12, 4)
output_pixels(dest + 8 * i + 0, U, 15, 12, 4)
output_pixels(dest + 8 * i + 4, V, 15, 12, 4)
- AV_WN16(dest + 8 * i + 6, A << 4);
+ output_pixels(dest + 8 * i + 6, A, 0, 12, 4);
}
}