[Ffmpeg-devel] Compile error on ppc/idct_altivec.c

Reimar Döffinger Reimar.Doeffinger
Fri Jul 29 17:50:58 CEST 2005


Hi,
On Fri, Jul 29, 2005 at 02:52:56PM +0000, ?var Arnfj?r? Bjarmason wrote:
> I'm getting a compile error on ppc/idct_altivec.c while compiling
> MPlayer with --enable-altivec
[...]
> ppc/idct_altivec.c:160: error: initializer element is not constant
> ppc/idct_altivec.c:160: error: (near initialization for `constants[0]')

Removing the (vector_s16_t) typecast works for me with gcc 4.0, but there
are a lot of places like that..
Anybody know the right fix? Or is it time for yet another variant of the
AVV macro? *g*

Greetings,
Reimar D?ffinger





More information about the ffmpeg-devel mailing list