From: Michael Kostylev Date: Sat, 4 Feb 2012 08:16:35 +0000 (-0800) Subject: h264: mark h264_idct_add8_10 with number of XMM registers. X-Git-Tag: v9_beta1~3120 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3206cccc0ee2166e994bb0c698178ee55b8b4c59;p=platform%2Fupstream%2Flibav.git h264: mark h264_idct_add8_10 with number of XMM registers. This fixes XMM register clobber problems on Win64. Signed-off-by: Ronald S. Bultje --- diff --git a/libavcodec/x86/h264_idct_10bit.asm b/libavcodec/x86/h264_idct_10bit.asm index 62a528b..501c2a4 100644 --- a/libavcodec/x86/h264_idct_10bit.asm +++ b/libavcodec/x86/h264_idct_10bit.asm @@ -315,7 +315,7 @@ IDCT_ADD16INTRA_10 avx ; h264_idct_add8(pixel **dst, const int *block_offset, dctcoef *block, int stride, const uint8_t nnzc[6*8]) ;----------------------------------------------------------------------------- %macro IDCT_ADD8 1 -cglobal h264_idct_add8_10_%1,5,7 +cglobal h264_idct_add8_10_%1,5,7,7 %if ARCH_X86_64 mov r10, r0 %endif