]> granicus.if.org Git - libx264/commitdiff
x86: Fix stack alignment for x264_cabac_encode_ue_bypass call
authorAnton Mitrofanov <BugMaster@narod.ru>
Sun, 22 Oct 2017 17:18:39 +0000 (20:18 +0300)
committerAnton Mitrofanov <BugMaster@narod.ru>
Sun, 24 Dec 2017 19:54:12 +0000 (22:54 +0300)
Fix MSVS fprofiled build for win64

common/x86/cabac-a.asm

index 49bca50d4e9f59c3c773551fb61123d9a4e09f9a..3644fd57b3c8f34a79231e928885ca46afc7fba2 100644 (file)
@@ -737,14 +737,14 @@ cglobal cabac_block_residual_internal, 4,15,0,-4*64
     push     r7
     push     r8
 %else
-    sub      rsp, 32 ; shadow space
+    sub      rsp, 40 ; shadow space and alignment
 %endif
     call cabac_encode_ue_bypass
 %if UNIX64
     pop      r8
     pop      r7
 %else
-    add      rsp, 32
+    add      rsp, 40
 %endif
     pop      r0
 .level_gt1_end: