aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Darnley <jdarnley@obe.tv>2016-12-07 21:57:15 +0100
committerJames Darnley <jdarnley@obe.tv>2016-12-07 22:32:19 +0100
commitacdd2d805d239cf8b6c1749350f0a2213150986f (patch)
treea492075cba7fc6e55bbd115e7075c8265f248e96
parent0c0da45f0fc0626d12796f017918800f735512c8 (diff)
downloadffmpeg-acdd2d805d239cf8b6c1749350f0a2213150986f.tar.gz
avcodec/h264: resolve assert being triggered when stack is not aligned
32-bit msvc.
-rw-r--r--libavcodec/x86/h264_deblock_10bit.asm4
1 files 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