[Toxine-cvs] CVS: toxine/src commands.c,1.60,1.61
Brought to you by:
f1rmb
From: Daniel Caujolle-B. <f1...@us...> - 2004-04-12 12:48:40
|
Update of /cvsroot/toxine/toxine/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11144 Modified Files: commands.c Log Message: fix segfault Index: commands.c =================================================================== RCS file: /cvsroot/toxine/toxine/src/commands.c,v retrieving revision 1.60 retrieving revision 1.61 diff -u -r1.60 -r1.61 --- commands.c 11 Apr 2004 13:29:38 -0000 1.60 +++ commands.c 12 Apr 2004 12:34:51 -0000 1.61 @@ -1188,6 +1188,7 @@ static void do_play(commands_t *command, toxine_t *tox, void *data) { return_if_no_init(tox); + return_if_no_stream(tox); if(tox->command.num_args) toxine_set_current_mrl(tox, (toxine_get_arg(tox, 1))); |