Mercurial > libavcodec.hg
changeset 4294:d8d019a1728e libavcodec
GCC 3.3 compile fix
author | gpoirier |
---|---|
date | Mon, 11 Dec 2006 10:52:18 +0000 |
parents | 728364bcf30c |
children | aabfa0a58cb0 |
files | ppc/h264_altivec.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ppc/h264_altivec.c Mon Dec 11 10:51:42 2006 +0000 +++ b/ppc/h264_altivec.c Mon Dec 11 10:52:18 2006 +0000 @@ -464,7 +464,7 @@ vec_u8_t lv = vec_ld( 7, dest ); \ vec_u8_t dstv = vec_perm( hv, lv, (vec_u8_t)perm_ldv ); \ vec_s16_t idct_sh6 = vec_sra(idctv, sixv); \ - vec_u16_t dst16 = vec_mergeh(zero_u8v, dstv); \ + vec_u16_t dst16 = (vec_u16_t)vec_mergeh(zero_u8v, dstv); \ vec_s16_t idstsum = vec_adds(idct_sh6, (vec_s16_t)dst16); \ vec_u8_t idstsum8 = vec_packsu(zero_s16v, idstsum); \ vec_u8_t edgehv; \