[FFmpeg-cvslog] h264: mark h264_idct_add8_10 with number of XMM registers.

Michael Kostylev git at videolan.org
Wed Feb 8 06:04:56 CET 2012


ffmpeg | branch: master | Michael Kostylev <michael.kostylev at gmail.com> | Sat Feb  4 00:16:35 2012 -0800| [3206cccc0ee2166e994bb0c698178ee55b8b4c59] | committer: Ronald S. Bultje

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 <rsbultje at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3206cccc0ee2166e994bb0c698178ee55b8b4c59
---

 libavcodec/x86/h264_idct_10bit.asm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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



More information about the ffmpeg-cvslog mailing list