From acdd2d805d239cf8b6c1749350f0a2213150986f Mon Sep 17 00:00:00 2001 From: James Darnley Date: Wed, 7 Dec 2016 21:57:15 +0100 Subject: [PATCH] avcodec/h264: resolve assert being triggered when stack is not aligned 32-bit msvc. --- libavcodec/x86/h264_deblock_10bit.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/x86/h264_deblock_10bit.asm b/libavcodec/x86/h264_deblock_10bit.asm index 56cf4d6f94..c2953640bb 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