Commit 13b4e116 authored by Rafaël Carré's avatar Rafaël Carré

TS mux: remove write only variables

parent a6c0d629
...@@ -361,9 +361,6 @@ struct sout_mux_sys_t ...@@ -361,9 +361,6 @@ struct sout_mux_sys_t
vlc_mutex_t csa_lock; vlc_mutex_t csa_lock;
int i_audio_bound;
int i_video_bound;
bool b_es_id_pid; bool b_es_id_pid;
bool b_sdt; bool b_sdt;
int i_pid_video; int i_pid_video;
...@@ -552,9 +549,6 @@ static int Open( vlc_object_t *p_this ) ...@@ -552,9 +549,6 @@ static int Open( vlc_object_t *p_this )
= p_sys->sdt_descriptors[i].psz_provider = NULL; = p_sys->sdt_descriptors[i].psz_provider = NULL;
memset( p_sys->sdt_descriptors, 0, sizeof(sdt_desc_t) ); memset( p_sys->sdt_descriptors, 0, sizeof(sdt_desc_t) );
p_sys->i_audio_bound = 0;
p_sys->i_video_bound = 0;
p_sys->b_es_id_pid = var_GetBool( p_mux, SOUT_CFG_PREFIX "es-id-pid" ); p_sys->b_es_id_pid = var_GetBool( p_mux, SOUT_CFG_PREFIX "es-id-pid" );
/* /*
...@@ -975,7 +969,6 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input ) ...@@ -975,7 +969,6 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
free( p_stream ); free( p_stream );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
p_sys->i_video_bound++;
break; break;
case AUDIO_ES: case AUDIO_ES:
...@@ -1015,7 +1008,6 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input ) ...@@ -1015,7 +1008,6 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
free( p_stream ); free( p_stream );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
p_sys->i_audio_bound++;
break; break;
case SPU_ES: case SPU_ES:
......
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