[MPlayer-cvslog] r27682 - trunk/command.c
reimar
subversion at mplayerhq.hu
Wed Oct 1 19:05:47 CEST 2008
Author: reimar
Date: Wed Oct 1 19:05:46 2008
New Revision: 27682
Log:
Use the existing pt_iter_goto_head function instead of reimplementing it
(incorrectly).
Modified:
trunk/command.c
Modified: trunk/command.c
==============================================================================
--- trunk/command.c (original)
+++ trunk/command.c Wed Oct 1 19:05:46 2008
@@ -2645,7 +2645,7 @@ int run_command(MPContext * mpctx, mp_cm
/* NOP */ ;
play_tree_free_list(mpctx->playtree->child, 1);
play_tree_set_child(mpctx->playtree, e);
- play_tree_iter_step(mpctx->playtree_iter, 0, 0);
+ pt_iter_goto_head(mpctx->playtree_iter);
mpctx->eof = PT_NEXT_SRC;
}
brk_cmd = 1;
@@ -2668,7 +2668,7 @@ int run_command(MPContext * mpctx, mp_cm
/* NOP */ ;
play_tree_free_list(mpctx->playtree->child, 1);
play_tree_set_child(mpctx->playtree, e);
- play_tree_iter_step(mpctx->playtree_iter, 0, 0);
+ pt_iter_goto_head(mpctx->playtree_iter);
mpctx->eof = PT_NEXT_SRC;
}
}
More information about the MPlayer-cvslog
mailing list