aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2022-09-22 11:13:13 +0300
committerMartin Storsjö <martin@martin.st>2022-09-22 11:13:33 +0300
commitc9aa6164d4b7bd73f0fcc1800e4f1cc49ead9bb5 (patch)
tree54c1c93ad6c8579cf88b5277393ae7392dfa5bfa
parentf2d75d7fb05ce1fb901432dacf6a630ef841b43c (diff)
downloadffmpeg-c9aa6164d4b7bd73f0fcc1800e4f1cc49ead9bb5.tar.gz
x86/lpc: Fix parameter sign extension, unbreaking checkasm-lpc on x86_64 windows
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libavcodec/x86/lpc.asm1
1 files changed, 1 insertions, 0 deletions
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