[FFmpeg-cvslog] diracdsp: try to fix segfault

Michael Niedermayer git at videolan.org
Sat Jun 16 23:21:58 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jun 16 23:16:07 2012 +0200| [9946a6aa55b71b7a46b4d835f9554cca9fba7234] | committer: Michael Niedermayer

diracdsp: try to fix segfault

This might fix Ticket1412

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 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 5b0f670..049bf16 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



More information about the ffmpeg-cvslog mailing list