[MPlayer-dev-eng] [PATCH] libvo/vosub_vidix.h Cygwin port
Sascha Sommer
saschasommer at freenet.de
Fri Nov 7 14:52:29 CET 2003
> Hi!
>
> In libvo/vosub_vidix.h we have
>
> uint32_t vidix_query_fourcc(unsigned fourcc);
>
> but in libvo/vosub_vidix.h it is called like this:
>
> uint32_t vidix_query_fourcc(uint32_t format)
>
> This gives the follwing compilation error under Cygwin
>
> cc -c -g -O4 -march=k6-3 -mcpu=k6-3 -pipe -ffast-math
> -fomit-frame-pointer -D__CYGWIN__ -I. -I.. -DMPG12PLAY
> -DVIDIX_PATH='"/usr/local/lib/mplayer/vidix/
> "' -o vosub_vidix.o vosub_vidix.c
> vosub_vidix.c:341: error: conflicting types for `vidix_query_fourcc'
> vosub_vidix.h:25: error: previous declaration of `vidix_query_fourcc'
> make: *** [vosub_vidix.o] Error 1
>
> So I suggest changing the header file to uint32_t, dunno if it is better
> the other way around. OK to apply this patch?
>
yes
Sascha
More information about the MPlayer-dev-eng
mailing list