Module: libav
Branch: master
Commit: 834e9fb0563956630e4d9bf61c9242ad134334da

Author:    Michael Niedermayer <[email protected]>
Committer: Martin Storsjö <[email protected]>
Date:      Sun Jan 27 15:50:26 2013 +0100

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

This makes the code actually work.

Signed-off-by: Martin Storsjö <[email protected]>

---

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

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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to