From: Michael Niedermayer <[email protected]>

This makes the code actually work.

---
Allegedly.
---
 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 8afd955..12d42c7 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
-- 
1.7.9.4

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

Reply via email to