[libav-devel] [PATCH] x86: hpeldsp: Fix a typo, use the right register

2013-01-27 Thread Martin Storsjö
From: Michael Niedermayer michae...@gmx.at

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
 pavgbm2, [r0]
 pavgbm1, [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
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel


Re: [libav-devel] [PATCH] x86: hpeldsp: Fix a typo, use the right register

2013-01-27 Thread Ronald S. Bultje
Hi,

On Sun, Jan 27, 2013 at 2:03 PM, Martin Storsjö mar...@martin.st wrote:
 From: Michael Niedermayer michae...@gmx.at

 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
  pavgbm2, [r0]
  pavgbm1, [r0+r2]
  mova   [r0], m2
 -mova[r0+r2], m2
 +mova[r0+r2], m1
  add  r0, r4
  sub r3d, 4
  jne .loop

OK.

Ronald
___
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel