diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-08-31 15:15:14 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-08-31 15:15:14 +0000 |
commit | 99d239b3e716e70e362441ebecc58d3755110eda (patch) | |
tree | 9c5f623d6c682814cc506fefe8662dd31e05468b /libavcodec | |
parent | 2064c77ab964eb474043ad48ff685772e904f506 (diff) | |
download | ffmpeg-99d239b3e716e70e362441ebecc58d3755110eda.tar.gz |
Fix float_to_int16, unaligned case, broken by the previous commit
Originally committed as revision 6141 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ppc/float_altivec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ppc/float_altivec.c b/libavcodec/ppc/float_altivec.c index 7080455913..dfb42d959a 100644 --- a/libavcodec/ppc/float_altivec.c +++ b/libavcodec/ppc/float_altivec.c @@ -166,8 +166,8 @@ void float_to_int16_altivec(int16_t *dst, const float *src, int len) 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); } |