[FFmpeg-cvslog] x86/opusdsp: fix WIN64 return value

Lynne git at videolan.org
Mon Apr 1 17:56:10 EEST 2019


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Mon Apr  1 13:06:34 2019 +0100| [b43b8d337db0644f3c54bda01d36f433b787cf74] | committer: James Almer

x86/opusdsp: fix WIN64 return value

Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavcodec/x86/opusdsp.asm | 5 ++---
 1 file 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
 



More information about the ffmpeg-cvslog mailing list