[FFmpeg-cvslog] avcodec/h264: resolve assert being triggered when stack is not aligned
James Darnley
git at videolan.org
Thu Dec 8 00:00:30 EET 2016
ffmpeg | branch: master | James Darnley <jdarnley at obe.tv> | Wed Dec 7 21:57:15 2016 +0100| [acdd2d805d239cf8b6c1749350f0a2213150986f] | committer: James Darnley
avcodec/h264: resolve assert being triggered when stack is not aligned
32-bit msvc.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=acdd2d805d239cf8b6c1749350f0a2213150986f
---
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 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
More information about the ffmpeg-cvslog
mailing list