From c9aa6164d4b7bd73f0fcc1800e4f1cc49ead9bb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Thu, 22 Sep 2022 11:13:13 +0300 Subject: [PATCH] x86/lpc: Fix parameter sign extension, unbreaking checkasm-lpc on x86_64 windows MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö --- 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