[FFmpeg-cvslog] r24926 - trunk/libavcodec/x86/vp56dsp.asm
mru
subversion
Wed Aug 25 17:41:11 CEST 2010
Author: mru
Date: Wed Aug 25 17:41:11 2010
New Revision: 24926
Log:
VP6: fix vp6_filter_diag4_mmx/sse on 64-bit
The stride can be negative and must be sign extended before being
used in pointer arithmetic.
Modified:
trunk/libavcodec/x86/vp56dsp.asm
Modified: trunk/libavcodec/x86/vp56dsp.asm
==============================================================================
--- trunk/libavcodec/x86/vp56dsp.asm Wed Aug 25 17:32:29 2010 (r24925)
+++ trunk/libavcodec/x86/vp56dsp.asm Wed Aug 25 17:41:11 2010 (r24926)
@@ -127,6 +127,9 @@ cglobal vp6_filter_diag4_%1, 5, 7, %2
sub rsp, 8*15
movq m6, [pw_64]
%endif
+%ifdef ARCH_X86_64
+ movsxd r2, r2d
+%endif
sub r1, r2
More information about the ffmpeg-cvslog
mailing list