changeset 9352:16ee9e419e06

100l
author pontscho
date Sat, 08 Feb 2003 21:56:52 +0000
parents 8ec4d4563bc4
children e78cf2460121
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sat Feb 08 21:54:57 2003 +0000
+++ b/mplayer.c	Sat Feb 08 21:56:52 2003 +0000
@@ -2380,7 +2380,7 @@
 	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;