[FFmpeg-cvslog] x86/lpc: Fix parameter sign extension, unbreaking checkasm-lpc on x86_64 windows

Martin Storsjö git at videolan.org
Thu Sep 22 11:13:57 EEST 2022


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Thu Sep 22 11:13:13 2022 +0300| [c9aa6164d4b7bd73f0fcc1800e4f1cc49ead9bb5] | committer: Martin Storsjö

x86/lpc: Fix parameter sign extension, unbreaking checkasm-lpc on x86_64 windows

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c9aa6164d4b7bd73f0fcc1800e4f1cc49ead9bb5
---

 libavcodec/x86/lpc.asm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/x86/lpc.asm b/libavcodec/x86/lpc.asm
index ad74f1d8ac..731aa7e2d8 100644
--- a/libavcodec/x86/lpc.asm
+++ b/libavcodec/x86/lpc.asm
@@ -36,6 +36,7 @@ SECTION .text
 
 %macro APPLY_WELCH_FN 0
 cglobal lpc_apply_welch_window, 3, 5, 8, data, len, out, off1, off2
+    movsxdifnidn lenq, lend
     cmp lenq, 0
     je .end
     cmp lenq, 2



More information about the ffmpeg-cvslog mailing list