diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2007-12-16 14:31:38 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2007-12-16 14:31:38 +0000 |
commit | c49e23e2a4e238fd527295513985dfc40cb9b487 (patch) | |
tree | 338e0956fdb264420ecfbf151b58f6f8442f3e74 /libavcodec/ppc | |
parent | 6cd1500d39b02ae0fdbba203a947f0a009787e34 (diff) | |
download | ffmpeg-c49e23e2a4e238fd527295513985dfc40cb9b487.tar.gz |
Make strict altivec parsers happy (gcc-4.3 and others)
Originally committed as revision 11231 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r-- | libavcodec/ppc/vc1dsp_altivec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/vc1dsp_altivec.c b/libavcodec/ppc/vc1dsp_altivec.c index 7a4d5cd07f..87bef808e6 100644 --- a/libavcodec/ppc/vc1dsp_altivec.c +++ b/libavcodec/ppc/vc1dsp_altivec.c @@ -311,7 +311,7 @@ static void vc1_inv_trans_8x4_altivec(uint8_t *dest, int stride, DCTELEM *block) #define ADD(dest,src,perm) \ /* *(uint64_t *)&tmp = *(uint64_t *)dest; */ \ tmp = vec_ld (0, dest); \ - tmp2 = (vector unsigned int)vec_perm (tmp, vec_splat_u8(0), perm); \ + tmp2 = (vector signed short)vec_perm (tmp, vec_splat_u8(0), perm); \ tmp3 = vec_adds (tmp2, src); \ tmp = vec_packsu (tmp3, tmp3); \ vec_ste ((vector unsigned int)tmp, 0, (unsigned int *)dest); \ |