[FFmpeg-cvslog] swscale: use aligned move for storage into temporary buffer.

Ronald S. Bultje git at videolan.org
Wed Oct 12 05:51:17 CEST 2011


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Sat Oct  8 21:40:01 2011 -0700| [6aa3cac6bf561712086ae413a36b5f05087c8887] | committer: Ronald S. Bultje

swscale: use aligned move for storage into temporary buffer.

The intermediate buffer is always aligned.

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

 libswscale/x86/scale.asm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libswscale/x86/scale.asm b/libswscale/x86/scale.asm
index ebaab34..d355894 100644
--- a/libswscale/x86/scale.asm
+++ b/libswscale/x86/scale.asm
@@ -369,7 +369,7 @@ cglobal hscale%1to%2_%4_%5, %6, 7, %7
     cvtps2dq      m0, m0
 %endif ; mmx/sse2/ssse3/sse4
 %ifnidn %3, X
-    movu [r1+r2*(4>>r2shr)], m0
+    mova [r1+r2*(4>>r2shr)], m0
 %else ; %3 == X
     movq   [r1+r2*4], m0
 %endif ; %3 ==/!= X



More information about the ffmpeg-cvslog mailing list