[MPlayer-dev-eng] [PATCH] fix compilation of libvo/vo_xvmc.c
Erik Auerswald
auerswal at unix-ag.uni-kl.de
Sun Mar 25 16:00:14 CEST 2007
Hi,
On Sun, Mar 25, 2007 at 03:43:39PM +0200, Dominik 'Rathann' Mierzejewski wrote:
> On Sunday, 25 March 2007 at 15:37, Erik Auerswald wrote:
> >
> > since svn revision 22812 the wrong xvmc_render.h file is included in
> > libvo/vo_xvmc.c, which breaks compilation. The following patch fixes this:
>
> How exactly does it break? It works fine here... (r22817).
cc -I../libavcodec -I../libavformat -Wdeclaration-after-statement -I. -I.. -I../libavutil -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/lib/modules/2.6.11-1.27_FC3/build/include -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cdda -I/usr/include/freetype2 -c -o vo_xvmc.o vo_xvmc.c
vo_xvmc.c: In function `draw_osd':
vo_xvmc.c:972: error: `MP_XVMC_STATE_OSD_SOURCE' undeclared (first use in this function)
vo_xvmc.c:972: error: (Each undeclared identifier is reported only once
vo_xvmc.c:972: error: for each function it appears in.)
vo_xvmc.c:973: error: structure has no member named `p_osd_target_surface_render'
vo_xvmc.c: In function `check_osd_source':
vo_xvmc.c:1267: error: `MP_XVMC_STATE_OSD_SOURCE' undeclared (first use in this function)
vo_xvmc.c:1270: error: structure has no member named `p_osd_target_surface_render'
vo_xvmc.c: In function `xvmc_clean_surfaces':
vo_xvmc.c:1328: error: `MP_XVMC_STATE_OSD_SOURCE' undeclared (first use in this function)
vo_xvmc.c:1330: error: structure has no member named `p_osd_target_surface_render'
make[1]: *** [vo_xvmc.o] Error 1
(This is svn revision 22818, but the problematic commit was revision 22812.)
Erik
--
I don't want to see the state of the file when I'm editing.
-- Ken Thompson
More information about the MPlayer-dev-eng
mailing list