avcodec/x86/vorbisdsp: change cmpleps to cmpltps in inverse coupling

Changed the comparison from cmpleps to strictly less than
(cmpltps) to strictly follow the Vorbis spec

Fixes https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/21501
This commit is contained in:
Hassan Hany
2026-05-26 04:46:04 +00:00
committed by michaelni
co-authored by michaelni
parent 8885116f4d
commit 9288681068
+2 -2
View File
@@ -41,8 +41,8 @@ align 16
mova m1, [angq+block_sizeq]
xorps m2, m2
xorps m3, m3
cmpleps m2, m0 ; m <= 0.0
cmpleps m3, m1 ; a <= 0.0
cmpltps m2, m0 ; m < 0.0
cmpltps m3, m1 ; a < 0.0
andps m2, m5 ; keep only the sign bit
xorps m1, m2
mova m4, m3