[FFmpeg-devel] [PATCH] sws/range_convert: fix RISC-V chrFromJpeg

Rémi Denis-Courmont remi at remlab.net
Sat Nov 16 11:30:23 EET 2024


---
 libswscale/riscv/range_rvv.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/riscv/range_rvv.S b/libswscale/riscv/range_rvv.S
index 24005170af..f2c20627c5 100644
--- a/libswscale/riscv/range_rvv.S
+++ b/libswscale/riscv/range_rvv.S
@@ -110,7 +110,7 @@ func ff_range_chr_from_jpeg_16_rvv, zve32x, zba
         vnsra.wi v4, v16, 11
         vse16.v  v0, (a0)
         sh1add   a0, t0, a0
-        vse16.v  v0, (a1)
+        vse16.v  v4, (a1)
         sh1add   a1, t0, a1
         bnez     a2, 1b
 
-- 
2.45.2



More information about the ffmpeg-devel mailing list