[Mplayer-cvslog] CVS: main mplayer.c,1.679,1.680

Zoltan Ponekker pontscho at mplayerhq.hu
Sun Feb 9 14:17:15 CET 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv19948

Modified Files:
	mplayer.c 
Log Message:
fuckin' 10l

Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.679
retrieving revision 1.680
diff -u -r1.679 -r1.680
--- mplayer.c	8 Feb 2003 21:56:52 -0000	1.679
+++ mplayer.c	9 Feb 2003 13:17:12 -0000	1.680
@@ -3339,12 +3339,14 @@
   play_tree_step = 1;
 } else if (eof == PT_UP_NEXT || eof == PT_UP_PREV) {
   eof = eof == PT_UP_NEXT ? 1 : -1;
-  if(play_tree_iter_up_step(playtree_iter,eof,0) == PLAY_TREE_ITER_ENTRY) {
-    eof = 1;
-  } else {
-    play_tree_iter_free(playtree_iter);
-    playtree_iter = NULL;
-  }
+  if ( playtree_iter ) {
+    if(play_tree_iter_up_step(playtree_iter,eof,0) == PLAY_TREE_ITER_ENTRY) {
+     eof = 1;
+    } else {
+      play_tree_iter_free(playtree_iter);
+      playtree_iter = NULL;
+    }
+   }
 } else { // NEXT PREV SRC
      eof = eof == PT_PREV_SRC ? -1 : 1;
 }



More information about the MPlayer-cvslog mailing list