Yet another typo
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 4 Aug 2006 19:11:12 +0000 (19:11 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 4 Aug 2006 19:11:12 +0000 (19:11 +0000)
Originally committed as revision 5933 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ppc/dsputil_altivec.c

index c0874ca..46c33b8 100644 (file)
@@ -1714,8 +1714,8 @@ static void vorbis_inverse_coupling_altivec(float *mag, float *ang,
         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_sub(m, (vector float)t0);
-        m = vec_add(m, (vector float)t1);
+        a = vec_sub(m, (vector float)t1);
+        m = vec_add(m, (vector float)t0);
         vec_stl(a, 0, ang+i);
         vec_stl(m, 0, mag+i);
     }