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.
This commit is contained in:
Rémi Denis-Courmont 2023-10-01 20:57:05 +03:00
parent 9240035c0e
commit ede3215115
1 changed files with 1 additions and 1 deletions

View File

@ -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