summaryrefslogtreecommitdiff
path: root/libavresample/x86
diff options
context:
space:
mode:
Diffstat (limited to 'libavresample/x86')
-rw-r--r--libavresample/x86/util.asm3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavresample/x86/util.asm b/libavresample/x86/util.asm
index 501f662d43..ca7fde513a 100644
--- a/libavresample/x86/util.asm
+++ b/libavresample/x86/util.asm
@@ -26,7 +26,8 @@
pmovsxwd m%1, m%1
SWAP %1, %2
%else
- punpckhwd m%2, m%1
+ mova m%2, m%1
+ punpckhwd m%2, m%2
punpcklwd m%1, m%1
psrad m%2, 16
psrad m%1, 16