From 1912c86af68885185a28b4d77b27089e68d29524 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sat, 16 Nov 2024 11:30:15 +0200 Subject: [PATCH] sws/range_convert: fix RISC-V chrFromJpeg --- 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