[vlc-devel] [PATCH 2/3] Revert "Revert "grain: fix clobber list""

Rafaël Carré funman at videolan.org
Sat Nov 19 05:06:41 CET 2011


This reverts commit e4a69b3a859c9ff4c5256d05b31d642530b76bf1.
---
 modules/video_filter/grain.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/video_filter/grain.c b/modules/video_filter/grain.c
index 40d9428..e28b438 100644
--- a/modules/video_filter/grain.c
+++ b/modules/video_filter/grain.c
@@ -186,7 +186,7 @@ static void BlockBlendSse2(uint8_t *dst, size_t dst_pitch,
                 [src1]"r"(&src[(2*i+0) * src_pitch]),
                 [src2]"r"(&src[(2*i+1) * src_pitch]),
                 [noise]"r"(&noise[2*i * BANK_SIZE])
-            : "memory");
+            : "xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "memory");
     }
 #else
 #   error "BLEND_SIZE unsupported"
-- 
1.7.5.4



More information about the vlc-devel mailing list