aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-16 23:16:07 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-16 23:16:54 +0200
commit9946a6aa55b71b7a46b4d835f9554cca9fba7234 (patch)
treef24675c703f8f2664aa76e6fd038b3834498f3a1
parentc9e183b490add7e3712974fec85db6c86c13b671 (diff)
downloadffmpeg-9946a6aa55b71b7a46b4d835f9554cca9fba7234.tar.gz
diracdsp: try to fix segfault
This might fix Ticket1412 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/x86/diracdsp_yasm.asm4
1 files 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