From d4731081be03a7799c5ebaef7a9026bb1b6a53d8 Mon Sep 17 00:00:00 2001 From: pontscho Date: Fri, 19 Apr 2002 10:56:26 +0000 Subject: [PATCH] fix compile bug git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5702 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/mplayer/play.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gui/mplayer/play.c b/Gui/mplayer/play.c index e8fde2379b..5a05750263 100644 --- a/Gui/mplayer/play.c +++ b/Gui/mplayer/play.c @@ -223,6 +223,7 @@ void mplPrev( void ) switch ( guiIntfStruct.StreamType ) { // case STREAMTYPE_FILE: +#ifdef USE_DVDREAD case STREAMTYPE_DVD: if ( guiIntfStruct.Playing == 2 ) break; if ( --guiIntfStruct.DVD.current_chapter == 0 ) @@ -234,6 +235,7 @@ void mplPrev( void ) if ( stop ) mplEventHandling( evStop,0 ); if ( guiIntfStruct.Playing == 1 ) mplEventHandling( evPlay,0 ); break; +#endif } } @@ -243,6 +245,7 @@ void mplNext( void ) switch ( guiIntfStruct.StreamType ) { // case STREAMTYPE_FILE: +#ifdef USE_DVDREAD case STREAMTYPE_DVD: if ( guiIntfStruct.DVD.current_chapter++ == guiIntfStruct.DVD.chapters ) { @@ -253,5 +256,6 @@ void mplNext( void ) if ( stop ) mplEventHandling( evStop,0 ); if ( guiIntfStruct.Playing == 1 ) mplEventHandling( evPlay,0 ); break; +#endif } }