Commit 20acb53f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Switcher: avoid use of unset variable

parent 69f5eeae
...@@ -509,8 +509,7 @@ static int Send( sout_stream_t *p_stream, sout_stream_id_t *id, ...@@ -509,8 +509,7 @@ static int Send( sout_stream_t *p_stream, sout_stream_id_t *id,
while ( id->p_queued != NULL ) while ( id->p_queued != NULL )
{ {
mtime_t i_dts; mtime_t i_dts = 0;
int i;
if ( p_sys->i_old_cmd != p_sys->i_cmd ) if ( p_sys->i_old_cmd != p_sys->i_cmd )
{ {
...@@ -519,7 +518,7 @@ static int Send( sout_stream_t *p_stream, sout_stream_id_t *id, ...@@ -519,7 +518,7 @@ static int Send( sout_stream_t *p_stream, sout_stream_id_t *id,
i_dts = Process( p_stream, id, i_dts ); i_dts = Process( p_stream, id, i_dts );
for ( i = 0; i < MAX_AUDIO; i++ ) for ( int i = 0; i < MAX_AUDIO; i++ )
{ {
if ( p_sys->pp_audio_ids[i] != NULL ) if ( p_sys->pp_audio_ids[i] != NULL )
Process( p_stream, p_sys->pp_audio_ids[i], i_dts ); Process( p_stream, p_sys->pp_audio_ids[i], i_dts );
......
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