Mercurial > mplayer.hg
diff libvo/sub.c @ 3180:d53f70e3c794
spudec_new has a dvd_priv_t as an argument, which is defined in
libmpdemux/stream.h only if USE_DVDREAD is defined. (Arpi)
author | pl |
---|---|
date | Wed, 28 Nov 2001 12:44:39 +0000 |
parents | 24d3dca4e813 |
children | 9e581ab5e54b |
line wrap: on
line diff
--- a/libvo/sub.c Wed Nov 28 12:34:10 2001 +0000 +++ b/libvo/sub.c Wed Nov 28 12:44:39 2001 +0000 @@ -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 }