h264: mark h264_idct_add8_10 with number of XMM registers.
authorMichael Kostylev <michael.kostylev@gmail.com>
Sat, 4 Feb 2012 08:16:35 +0000 (00:16 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Tue, 7 Feb 2012 19:37:13 +0000 (11:37 -0800)
This fixes XMM register clobber problems on Win64.

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
libavcodec/x86/h264_idct_10bit.asm

index 62a528b..501c2a4 100644 (file)
@@ -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