summaryrefslogtreecommitdiff
path: root/libavcodec/x86
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2019-04-01 13:06:34 +0100
committerJames Almer <jamrial@gmail.com>2019-04-01 11:06:34 -0300
commitb43b8d337db0644f3c54bda01d36f433b787cf74 (patch)
treebf7db06faac4c669415a46967628d89b253863fe /libavcodec/x86
parentd071a1117daff0a84bafe9b437164fdef97af98f (diff)
x86/opusdsp: fix WIN64 return value
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/opusdsp.asm5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/x86/opusdsp.asm b/libavcodec/x86/opusdsp.asm
index ed65614e06..6c99821b89 100644
--- a/libavcodec/x86/opusdsp.asm
+++ b/libavcodec/x86/opusdsp.asm
@@ -38,10 +38,9 @@ cglobal opus_deemphasis, 4, 4, 8, out, in, coeff, len
%endif
%if ARCH_X86_32
VBROADCASTSS m0, coeffm
+%elif WIN64
+ shufps m0, m2, m2, 0
%else
-%if WIN64
- SWAP 0, 2
-%endif
shufps m0, m0, 0
%endif