[FFmpeg-cvslog] dirac: add_rect_clamped does currently not receive aligned data, thus use unaligned accesses.

Michael Niedermayer git at videolan.org
Sun Oct 30 23:57:39 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Oct 30 23:26:29 2011 +0100| [22fe93ea39f72e1c77fcb74898bf78041cdd9f97] | committer: Michael Niedermayer

dirac: add_rect_clamped does currently not receive aligned data, thus use unaligned accesses.

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

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

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

diff --git a/libavcodec/x86/diracdsp_yasm.asm b/libavcodec/x86/diracdsp_yasm.asm
index fde7742..bda791c 100644
--- a/libavcodec/x86/diracdsp_yasm.asm
+++ b/libavcodec/x86/diracdsp_yasm.asm
@@ -195,7 +195,7 @@ cglobal add_rect_clamped_%1, 7,7,3, dst, src, stride, idwt, idwt_stride, w, h
     paddw   m1, [idwtq+2*wq]
     paddw   m2, [idwtq+2*wq+mmsize]
     packuswb m1, m2
-    mova    [dstq +wq], m1
+    movu    [dstq +wq], m1
     jg      .loop
 
     lea   srcq, [srcq + 2*strideq]



More information about the ffmpeg-cvslog mailing list