Mercurial > mplayer.hg
changeset 4960:d3d05270c09d
workaround for gui a short time.
author | pontscho |
---|---|
date | Wed, 06 Mar 2002 23:27:20 +0000 |
parents | 7399c0dbd793 |
children | c8a3e58a43d8 |
files | playtree.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/playtree.c Wed Mar 06 23:16:33 2002 +0000 +++ b/playtree.c Wed Mar 06 23:27:20 2002 +0000 @@ -441,7 +441,8 @@ void play_tree_iter_free(play_tree_iter_t* iter) { - + + if ( !iter ) return; #ifdef MP_DEBUG assert(iter != NULL); #endif @@ -460,6 +461,7 @@ play_tree_iter_step(play_tree_iter_t* iter, int d,int with_nodes) { play_tree_t* pt; + if ( !iter ) return PLAY_TREE_ITER_ERROR; #ifdef MP_DEBUG assert(iter != NULL); assert(iter->root != NULL);