From 9946a6aa55b71b7a46b4d835f9554cca9fba7234 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 16 Jun 2012 23:16:07 +0200 Subject: diracdsp: try to fix segfault This might fix Ticket1412 Signed-off-by: Michael Niedermayer --- libavcodec/x86/diracdsp_yasm.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/x86/diracdsp_yasm.asm b/libavcodec/x86/diracdsp_yasm.asm index 5b0f670824..049bf16dbf 100644 --- a/libavcodec/x86/diracdsp_yasm.asm +++ b/libavcodec/x86/diracdsp_yasm.asm @@ -177,8 +177,8 @@ cglobal add_rect_clamped_%1, 7,7,3, dst, src, stride, idwt, idwt_stride, w, h and wd, ~(mmsize-1) %if ARCH_X86_64 - mov r11d, wd - %define wspill r11d + mov r8d, wd + %define wspill r8d %else mov r5m, wd %define wspill r5m -- cgit v1.2.3