aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2006-08-04 19:03:01 +0000
committerLuca Barbato <lu_zero@gentoo.org>2006-08-04 19:03:01 +0000
commit532877894b2bbb8aa89ebff516e3d4b55deb155d (patch)
tree216600928dd26daa1da9f575b6e3ecefc39de3c6 /libavcodec
parent1066a99540cc3546c3a5add4e08acc219b9ec006 (diff)
downloadffmpeg-532877894b2bbb8aa89ebff516e3d4b55deb155d.tar.gz
Fix a stupid typo and another error, thanks to Emanuele Giaquinta <exg@gentoo.org> for pointing out the issue and the patch
Originally committed as revision 5932 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ppc/dsputil_altivec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/ppc/dsputil_altivec.c b/libavcodec/ppc/dsputil_altivec.c
index 570969ab7a..c0874cae12 100644
--- a/libavcodec/ppc/dsputil_altivec.c
+++ b/libavcodec/ppc/dsputil_altivec.c
@@ -1714,10 +1714,10 @@ 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_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);
}
}