git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9353 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pontscho 2003-02-08 21:56:52 +00:00
parent f541066d3f
commit 114687d46a
1 changed files with 1 additions and 1 deletions

View File

@ -2380,7 +2380,7 @@ if (stream->type==STREAMTYPE_DVDNAV && dvd_nav_still)
eof = (n > 0) ? PT_UP_NEXT : PT_UP_PREV;
} break;
case MP_CMD_PLAY_ALT_SRC_STEP : {
if(playtree_iter->num_files > 1) {
if(playtree_iter && playtree_iter->num_files > 1) {
int v = cmd->args[0].v.i;
if(v > 0 && playtree_iter->file < playtree_iter->num_files)
eof = PT_NEXT_SRC;