[Ffmpeg-devel] Can't build ffmpeg on mac os x
Juha Meskanen
juha.meskanen
Tue May 2 18:20:46 CEST 2006
The patch fixed the problem.
Thanks!
Juha
----- Original Message -----
From: "Luca Barbato" <lu_zero at gentoo.org>
To: "FFMpeg development discussions and patches" <ffmpeg-devel at mplayerhq.hu>
Sent: Tuesday, May 02, 2006 6:20 PM
Subject: Re: [Ffmpeg-devel] Can't build ffmpeg on mac os x
> Juha Meskanen wrote:
>> Hi,
> [apple strict gcc strikes back...]
>
>> ppc/dsputil_snow_altivec.c:695: error: incompatible types in assignment
>
>> ppc/dsputil_snow_altivec.c:741: error: incompatible types in assignment
>
> Looks like some code I factorized wasn't tested on osx...
>
> Try this patch and report back, please.
>
> lu
>
--------------------------------------------------------------------------------
> Index: libavcodec/ppc/dsputil_snow_altivec.c
> ===================================================================
> RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/ppc/dsputil_snow_altivec.c,v
> retrieving revision 1.5
> diff -u -r1.5 dsputil_snow_altivec.c
> --- libavcodec/ppc/dsputil_snow_altivec.c 25 Apr 2006 19:54:02 -0000 1.5
> +++ libavcodec/ppc/dsputil_snow_altivec.c 2 May 2006 15:19:30 -0000
> @@ -626,11 +626,11 @@
> 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));\
> \
>
--------------------------------------------------------------------------------
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list