Macosx fix
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 2 May 2006 18:45:04 +0000 (18:45 +0000)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 2 May 2006 18:45:04 +0000 (18:45 +0000)
Originally committed as revision 5342 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ppc/dsputil_snow_altivec.c

index 06157e0..8c39cda 100644 (file)
@@ -626,11 +626,11 @@ static void inner_add_yblock_bw_16_obmc_32_altivec(uint8_t *obmc,
                                                vec_splat_u32(7))),\
                                vec_splat_u32(8));\
 \
-                mask = vec_sl((vector signed int)\
+                mask = (vector bool int) vec_sl((vector signed int)\
                         vec_cmpeq(v[x],v[x]),vec_splat_u32(8));\
-                mask = vec_and(v[x],vec_nor(mask,mask));\
+                mask = (vector bool int) vec_and(v[x],vec_nor(mask,mask));\
 \
-                mask = (vector signed int)\
+                mask = (vector bool int)\
                         vec_cmpeq((vector signed int)mask,\
                                   (vector signed int)vec_splat_u32(0));\
 \