diff mbox

[FFmpeg-devel] avcodec/h264: resolve assert being triggered when stack is not aligned

Message ID 20161207210539.20763-1-jdarnley@obe.tv
State Accepted
Commit acdd2d805d239cf8b6c1749350f0a2213150986f
Headers show

Commit Message

James Darnley Dec. 7, 2016, 9:05 p.m. UTC
32-bit msvc.
---
 libavcodec/x86/h264_deblock_10bit.asm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/libavcodec/x86/h264_deblock_10bit.asm b/libavcodec/x86/h264_deblock_10bit.asm
index 56cf4d6..c295364 100644
--- a/libavcodec/x86/h264_deblock_10bit.asm
+++ b/libavcodec/x86/h264_deblock_10bit.asm
@@ -1001,7 +1001,7 @@  cglobal deblock_v_chroma_intra_10, 4,6-(mmsize/16),8*(mmsize/16)
 ; void ff_deblock_h_chroma_10(uint16_t *pix, int stride, int alpha, int beta,
 ;                             int8_t *tc0)
 ;-----------------------------------------------------------------------------
-cglobal deblock_h_chroma_10, 5, 7, 8, 2*mmsize, pix_, stride_, alpha_, beta_, tc0_
+cglobal deblock_h_chroma_10, 5, 7, 8, 0-2*mmsize, pix_, stride_, alpha_, beta_, tc0_
     shl alpha_d,  2
     shl beta_d,   2
     mov r5,       pix_q
@@ -1036,7 +1036,7 @@  RET
 ; void ff_deblock_h_chroma422_10(uint16_t *pix, int stride, int alpha, int beta,
 ;                                int8_t *tc0)
 ;-----------------------------------------------------------------------------
-cglobal deblock_h_chroma422_10, 5, 7, 8, 3*mmsize, pix_, stride_, alpha_, beta_, tc0_
+cglobal deblock_h_chroma422_10, 5, 7, 8, 0-3*mmsize, pix_, stride_, alpha_, beta_, tc0_
     shl alpha_d,  2
     shl beta_d,   2