[Ffmpeg-cvslog] r5932 - trunk/libavcodec/ppc/dsputil_altivec.c

lu_zero subversion
Fri Aug 4 21:03:01 CEST 2006


Author: lu_zero
Date: Fri Aug  4 21:03:01 2006
New Revision: 5932

Modified:
   trunk/libavcodec/ppc/dsputil_altivec.c

Log:
Fix a stupid typo and another error, thanks to Emanuele Giaquinta <exg at gentoo.org> for pointing out the issue

Modified: trunk/libavcodec/ppc/dsputil_altivec.c
==============================================================================
--- trunk/libavcodec/ppc/dsputil_altivec.c	(original)
+++ trunk/libavcodec/ppc/dsputil_altivec.c	Fri Aug  4 21:03:01 2006
@@ -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);
     }
 }
 




More information about the ffmpeg-cvslog mailing list