[Mplayer-cvslog] CVS: main/libvo sub.c,1.37,1.38

pl pl at mplayer.dev.hu
Wed Nov 28 13:44:41 CET 2001


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv25260/libvo

Modified Files:
	sub.c 
Log Message:
spudec_new has a dvd_priv_t as an argument, which is defined in
libmpdemux/stream.h only if USE_DVDREAD is defined. (Arpi)


Index: sub.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/sub.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- sub.c	20 Nov 2001 18:36:50 -0000	1.37
+++ sub.c	28 Nov 2001 12:44:39 -0000	1.38
@@ -273,10 +273,11 @@
 }
 
 void *vo_spudec=NULL;
-
+#ifdef USE_DVDREAD
 inline static void vo_draw_spudec(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)){
     spudec_draw(vo_spudec, draw_alpha);
 }
+#endif
 
 static int draw_alpha_init_flag=0;
 
@@ -302,10 +303,11 @@
     if(vo_osd_progbar_type>=0 && vo_font->font[OSD_PB_0]>=0){
         vo_draw_text_progbar(dxs,dys,draw_alpha);
     }
-
+#ifdef USE_DVDREAD
     if(vo_spudec){
 	vo_draw_spudec(dxs,dys,draw_alpha);
     }
+#endif
 
 }
          




More information about the MPlayer-cvslog mailing list