[MPlayer-users] Can't compile latest MPLayer CVS

Martin Collins martin at mkcollins.org
Fri Oct 29 23:54:38 CEST 2004


On Fri, 29 Oct 2004 21:57:19 +0200
Christian Roche <christian_roche at noos.fr> wrote:

> ao_pcm.c:55: error: initializer element is not constant
> > ao_pcm.c:55: error: (near initialization for `wavhdr.riff')
> > ao_pcm.c:58: error: initializer element is not constant
> > ao_pcm.c:58: error: (near initialization for `wavhdr.wave')
> > ao_pcm.c:59: error: initializer element is not constant

Yep, they are functions not constants. Does C99 allow this?
Nevertheless...

> gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)

Works fine for me with gcc 3.2.3 (Debian).

Martin




More information about the MPlayer-users mailing list