summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-28 12:44:39 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-28 12:44:39 +0000
commitb7ff737901eeb3425e56a587f812c34ff969a776 (patch)
tree4e0f8e0db98bfd645249781a2cb8d78cb50d2319 /libvo
parent4376937df653dc206720ab0d0e40811b3cef6134 (diff)
downloadmpv-b7ff737901eeb3425e56a587f812c34ff969a776.tar.bz2
mpv-b7ff737901eeb3425e56a587f812c34ff969a776.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/sub.c6
1 files changed, 4 insertions, 2 deletions
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
}