[vlc-commits] TS mux: remove write only variables
Rafaël Carré
git at videolan.org
Fri Feb 10 08:26:38 CET 2012
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Feb 9 22:07:23 2012 -0500| [13b4e116a75b1c1cabe334238a735652c0097e0f] | committer: Rafaël Carré
TS mux: remove write only variables
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=13b4e116a75b1c1cabe334238a735652c0097e0f
---
modules/mux/mpeg/ts.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/modules/mux/mpeg/ts.c b/modules/mux/mpeg/ts.c
index 63406e6..0170fcd 100644
--- a/modules/mux/mpeg/ts.c
+++ b/modules/mux/mpeg/ts.c
@@ -361,9 +361,6 @@ struct sout_mux_sys_t
vlc_mutex_t csa_lock;
- int i_audio_bound;
- int i_video_bound;
-
bool b_es_id_pid;
bool b_sdt;
int i_pid_video;
@@ -552,9 +549,6 @@ static int Open( vlc_object_t *p_this )
= p_sys->sdt_descriptors[i].psz_provider = NULL;
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" );
/*
@@ -975,7 +969,6 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
free( p_stream );
return VLC_EGENERIC;
}
- p_sys->i_video_bound++;
break;
case AUDIO_ES:
@@ -1015,7 +1008,6 @@ static int AddStream( sout_mux_t *p_mux, sout_input_t *p_input )
free( p_stream );
return VLC_EGENERIC;
}
- p_sys->i_audio_bound++;
break;
case SPU_ES:
More information about the vlc-commits
mailing list