diff options
author | Rémi Denis-Courmont <remi@remlab.net> | 2023-10-01 20:57:05 +0300 |
---|---|---|
committer | Rémi Denis-Courmont <remi@remlab.net> | 2023-10-03 22:53:20 +0300 |
commit | ede3215115eddc2f1609662b77db82af575070eb (patch) | |
tree | 5781f38a67ef2746361f2c7c1f87424c5b8175c6 /libswscale | |
parent | 9240035c0e0c81d59a8175e84ca8b2b8595ee343 (diff) | |
download | ffmpeg-ede3215115eddc2f1609662b77db82af575070eb.tar.gz |
swscale/rgb2rgb: fix extra iteration in R-V V interleave
There was an additional iteration doing nothing for each line,
due to checking the selected vector length instead of the available
vector length.
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/riscv/rgb2rgb_rvv.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/riscv/rgb2rgb_rvv.S b/libswscale/riscv/rgb2rgb_rvv.S index 56539690bc..71e8fac6f3 100644 --- a/libswscale/riscv/rgb2rgb_rvv.S +++ b/libswscale/riscv/rgb2rgb_rvv.S @@ -90,7 +90,7 @@ func ff_interleave_bytes_rvv, zve32x add t1, t4, t1 vsseg2e8.v v8, (t2) sh1add t2, t4, t2 - bnez t4, 2b + bnez t3, 2b add a0, a0, a5 add a1, a1, a6 |