[Ffmpeg-cvslog] r6141 - trunk/libavcodec/ppc/float_altivec.c
lu_zero
subversion
Thu Aug 31 17:15:14 CEST 2006
Author: lu_zero
Date: Thu Aug 31 17:15:14 2006
New Revision: 6141
Modified:
trunk/libavcodec/ppc/float_altivec.c
Log:
Fix float_to_int16, unaligned case, broken by the previous commit
Modified: trunk/libavcodec/ppc/float_altivec.c
==============================================================================
--- trunk/libavcodec/ppc/float_altivec.c (original)
+++ trunk/libavcodec/ppc/float_altivec.c Thu Aug 31 17:15:14 2006
@@ -166,8 +166,8 @@
d = vec_packs(t0,t1);
d1 = vec_perm(d1, d0, vec_lvsl(0,dst+i));
align = vec_lvsr(0, dst+i);
- d0 = vec_perm(d, d1, align);
- d1 = vec_perm(d1, d, align);
+ d0 = vec_perm(d1, d, align);
+ d1 = vec_perm(d, d1, align);
vec_st(d0, 0, dst+i);
vec_st(d1,15, dst+i);
}
More information about the ffmpeg-cvslog
mailing list