---
I currently have no way of testing if this fixes the mingw32 failures or not. 
Testing would be appreciated
---
 libavcodec/x86/mpeg4qpel.asm |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/x86/mpeg4qpel.asm b/libavcodec/x86/mpeg4qpel.asm
index a5525d2..6b5d203 100644
--- a/libavcodec/x86/mpeg4qpel.asm
+++ b/libavcodec/x86/mpeg4qpel.asm
@@ -168,7 +168,7 @@ INIT_MMX 3dnow
 PUT_NO_RND_PIXELS16_l2
 
 %macro MPEG4_QPEL16_H_LOWPASS 1
-cglobal %1_mpeg4_qpel16_h_lowpass, 5, 5, 0, 8
+cglobal %1_mpeg4_qpel16_h_lowpass, 5, 5, 0, 16
     movsxdifnidn r2, r2d
     movsxdifnidn r3, r3d
     pxor         m7, m7
@@ -201,7 +201,7 @@ cglobal %1_mpeg4_qpel16_h_lowpass, 5, 5, 0, 8
     paddw        m6, [PW_ROUND]
     paddw        m0, m6
     psraw        m0, 5
-    mova    [rsp-8], m0
+    mova    [rsp+8], m0
     mova         m0, [r1+5]
     mova         m5, m0
     mova         m6, m0
@@ -225,7 +225,7 @@ cglobal %1_mpeg4_qpel16_h_lowpass, 5, 5, 0, 8
     paddw        m1, [PW_ROUND]
     paddw        m3, m1
     psraw        m3, 5
-    mova         m1, [rsp-8]
+    mova         m1, [rsp+8]
     packuswb     m1, m3
     OP_MOV     [r0], m1, m4
     mova         m1, [r1+9]
-- 
1.7.10.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to