* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*****************************************************************************/
#include <vlc/vlc.h>
-#include <stdlib.h>
#include <signal.h>
/*****************************************************************************
for( i = 0; i < 10; i++ )
{
- pp_objects[i]->b_die = VLC_TRUE;
+ vlc_object_kill( pp_objects[i] );
vlc_thread_join( pp_objects[i] );
vlc_object_detach( pp_objects[i] );
vlc_object_destroy( pp_objects[i] );
sprintf( psz_newvar, "blork-%i", i_var );
var_Set( p_this, psz_newvar, newval );
- return VLC_SUCCESS;
+ return VLC_SUCCESS;
}
/*****************************************************************************