[MPlayer-dev-eng] AltiVec - Fixes
Michael Niedermayer
michaelni at gmx.at
Sun Jun 6 01:58:39 CEST 2004
Hi
On Saturday 29 May 2004 21:29, Marcin Kurek wrote:
> Hell[o]
>
> It seems that current CVS version (May 29 2004) has some problems when
> build for PPC && AltiVec systems. Generaly the problems are located in
> 'libavcodec' part and there is also small problem in mplayer code.
>
> A) libavcodec/svq1.c:969
>
> -> const int8_t *vector;
>
> This definition makes GCC to fail badly because 'vector' is a keyword when
> compiling with AltiVec support and can't be used as variable name. The fix
> is trivial anyway.
#undef vector would be more trivial
[...]
> C) postproc/swscale_altivec_template.c:23-34
>
> There is missing 'const' kayword in both parts (linux && darwin).
> Makes GCC to fail badly.
i applied a similar patch from Romain Dolbeau, this should have fixed it
[...]
--
Michael
level[i]= get_vlc(); i+=get_vlc(); (violates patent EP0266049)
median(mv[y-1][x], mv[y][x-1], mv[y+1][x+1]); (violates patent #5,905,535)
buf[i]= qp - buf[i-1]; (violates patent #?)
for more examples, see http://mplayerhq.hu/~michael/patent.html
stop it, see http://petition.eurolinux.org & http://petition.ffii.org/eubsa/en
More information about the MPlayer-dev-eng
mailing list