[MPlayer-dev-eng] Resetting internal playtree

Ralf r.schade-greschke at ish.de
Sun Aug 5 12:50:38 CEST 2007


Aloha.
I'm new to mplayer and a little bit outdated in programming c ;)
Is the following code good to destroy the internal playtree and set up a 
new one?

if(playtree) {
play_tree_free_list(playtree, 1);
playtree = NULL;
}
else {
playtree=play_tree_new();
}




More information about the MPlayer-dev-eng mailing list