fix compile bug

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5702 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2002-04-19 10:56:26 +00:00
parent cdb6fb79d6
commit d4731081be
1 changed files with 4 additions and 0 deletions

View File

@ -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
}
}