[FFmpeg-cvslog] x86: hpeldsp: Fix a typo, use the right register

Michael Niedermayer git at videolan.org
Mon Jan 28 14:52:57 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jan 27 15:50:26 2013 +0100| [834e9fb0563956630e4d9bf61c9242ad134334da] | committer: Martin Storsjö

x86: hpeldsp: Fix a typo, use the right register

This makes the code actually work.

Signed-off-by: Martin Storsjö <martin at martin.st>

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

 libavcodec/x86/hpeldsp.asm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/hpeldsp.asm b/libavcodec/x86/hpeldsp.asm
index 85594c1..ee5d562 100644
--- a/libavcodec/x86/hpeldsp.asm
+++ b/libavcodec/x86/hpeldsp.asm
@@ -452,7 +452,7 @@ cglobal avg_pixels8_xy2, 4,5
     pavgb        m2, [r0]
     pavgb        m1, [r0+r2]
     mova       [r0], m2
-    mova    [r0+r2], m2
+    mova    [r0+r2], m1
     add          r0, r4
     sub         r3d, 4
     jne .loop



More information about the ffmpeg-cvslog mailing list