[MPlayer-dev-eng] [PATCH] libvo/vosub_vidix.h Cygwin port
Diego Biurrun
diego at biurrun.de
Sun Nov 2 20:47:18 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?
Diego
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vosub_vidix_h_cygwin.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20031102/abd3c426/attachment.asc>
More information about the MPlayer-dev-eng
mailing list