• Rémi Denis-Courmont's avatar
    lavc/aacpsdsp: fix R-V V stereo interpolate · cdd38a2f
    Rémi Denis-Courmont authored
    The penultimate loop iteration could pick any vl such that:
     vlenb/4 < vl <= vlenb/2
    Thus if the total length is not a multiple of vlenb/2, the vfadd.vf
    on the penultimate iteration would yield corrupt values for the last
    iteration.
    
    To avoid this, force vl = vlen/2 until the last iteration. Unfortunately
    this latent bug is not reproducible with either hardware or QEMU as of now.
    cdd38a2f
aacpsdsp_rvv.S 8 KB