summaryrefslogtreecommitdiff
path: root/libavcodec/x86/x86util.asm
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/x86/x86util.asm')
-rw-r--r--libavcodec/x86/x86util.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/x86util.asm b/libavcodec/x86/x86util.asm
index 09c2d54f87..1cede4d336 100644
--- a/libavcodec/x86/x86util.asm
+++ b/libavcodec/x86/x86util.asm
@@ -497,10 +497,10 @@
%macro STORE_DIFFx2 8 ; add1, add2, reg1, reg2, zero, shift, source, stride
movh %3, [%7]
movh %4, [%7+%8]
- punpcklbw %3, %5
- punpcklbw %4, %5
psraw %1, %6
psraw %2, %6
+ punpcklbw %3, %5
+ punpcklbw %4, %5
paddw %3, %1
paddw %4, %2
packuswb %3, %5