Commit 1c01003b authored by Laurent Aimar's avatar Laurent Aimar

Cosmetics.

parent 8a126c13
......@@ -225,15 +225,6 @@ static void Destroy( es_out_t *p_out )
if( p_sys->b_delayed )
TsStop( p_out );
for( ;; )
{
ts_cmd_t cmd;
if( CmdPop( p_out, &cmd ) )
break;
CmdClean( &cmd );
}
TAB_CLEAN( p_sys->i_cmd, p_sys->pp_cmd );
while( p_sys->i_es > 0 )
......@@ -584,6 +575,16 @@ static void TsStop( es_out_t *p_out )
vlc_object_kill( p_sys->p_thread );
vlc_thread_join( p_sys->p_thread );
for( ;; )
{
ts_cmd_t cmd;
if( CmdPop( p_out, &cmd ) )
break;
CmdClean( &cmd );
}
p_sys->b_delayed = false;
}
static void *TsRun( vlc_object_t *p_thread )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment