Mercurial > mplayer.hg
changeset 27650:99838ea34e55
Use the existing pt_iter_goto_head function instead of reimplementing it
(incorrectly).
author | reimar |
---|---|
date | Wed, 01 Oct 2008 17:05:46 +0000 |
parents | 1eee249e519d |
children | f445847b8ec1 |
files | command.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/command.c Wed Oct 01 17:05:39 2008 +0000 +++ b/command.c Wed Oct 01 17:05:46 2008 +0000 @@ -2645,7 +2645,7 @@ /* 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 @@ /* 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; } }