From b7ff737901eeb3425e56a587f812c34ff969a776 Mon Sep 17 00:00:00 2001 From: pl Date: Wed, 28 Nov 2001 12:44:39 +0000 Subject: spudec_new has a dvd_priv_t as an argument, which is defined in libmpdemux/stream.h only if USE_DVDREAD is defined. (Arpi) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3181 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/sub.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libvo') diff --git a/libvo/sub.c b/libvo/sub.c index 77934a691b..30bfe2b3df 100644 --- a/libvo/sub.c +++ b/libvo/sub.c @@ -273,10 +273,11 @@ inline static void vo_draw_text_sub(int dxs,int dys,void (*draw_alpha)(int x0,in } 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 @@ void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, 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 } -- cgit v1.2.3