changeset 3549:7b4e34f1ff1f libavcodec

Fix a stupid typo and another error, thanks to Emanuele Giaquinta <exg@gentoo.org> for pointing out the issue and the patch
author lu_zero
date Fri, 04 Aug 2006 19:03:01 +0000
parents f7b09917c680
children 4f4c13574ad5
files ppc/dsputil_altivec.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ppc/dsputil_altivec.c	Fri Aug 04 03:31:01 2006 +0000
+++ b/ppc/dsputil_altivec.c	Fri Aug 04 19:03:01 2006 +0000
@@ -1714,10 +1714,10 @@
         a = vec_xor(a, (vector float) vec_sl((vector unsigned int)t0, v_31));
         t0 = (vector bool int)vec_and(a, t1);
         t1 = (vector bool int)vec_andc(a, t1);
-        a = vec_add(m, (vector float)t0);
-        m = vec_sub(m, (vector float)t1);
-        vec_ste(a, 0, ang+i);
-        vec_ste(m, 0, mag+i);
+        a = vec_sub(m, (vector float)t0);
+        m = vec_add(m, (vector float)t1);
+        vec_stl(a, 0, ang+i);
+        vec_stl(m, 0, mag+i);
     }
 }