Mercurial > mplayer.hg
diff libmpdemux/stream_dvd.c @ 17191:6ac0b5f0d1ed
fix compilation when dvdkit and dvdread are not available
author | nicodvb |
---|---|
date | Wed, 14 Dec 2005 21:52:41 +0000 |
parents | 6ff3379a0862 |
children | 1188874fd68b |
line wrap: on
line diff
--- a/libmpdemux/stream_dvd.c Wed Dec 14 19:35:25 2005 +0000 +++ b/libmpdemux/stream_dvd.c Wed Dec 14 21:52:41 2005 +0000 @@ -26,12 +26,13 @@ #include "m_struct.h" /// We keep these 2 for the gui atm, but they will be removed. -int dvd_title=0; -int dvd_chapter=1; -int dvd_last_chapter=0; +extern int dvd_title; +extern int dvd_chapter; +extern int dvd_last_chapter; +extern char* dvd_device; int dvd_angle=1; -char* dvd_device=NULL; +#ifdef HAVE_DVD #ifdef USE_DVDREAD #define DVDREAD_VERSION(maj,min,micro) ((maj)*10000 + (min)*100 + (micro)) /* @@ -792,3 +793,4 @@ &stream_opts, 1 // Urls are an option string }; +#endif