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
pull/126/head
Luca Barbato 19 years ago
parent 1066a99540
commit 532877894b
  1. 8
      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)); a = vec_xor(a, (vector float) vec_sl((vector unsigned int)t0, v_31));
t0 = (vector bool int)vec_and(a, t1); t0 = (vector bool int)vec_and(a, t1);
t1 = (vector bool int)vec_andc(a, t1); t1 = (vector bool int)vec_andc(a, t1);
a = vec_add(m, (vector float)t0); a = vec_sub(m, (vector float)t0);
m = vec_sub(m, (vector float)t1); m = vec_add(m, (vector float)t1);
vec_ste(a, 0, ang+i); vec_stl(a, 0, ang+i);
vec_ste(m, 0, mag+i); vec_stl(m, 0, mag+i);
} }
} }

Loading…
Cancel
Save