[vlc-commits] commit: Removed write only variables (ts). (Laurent Aimar )
git at videolan.org
git at videolan.org
Mon Jun 28 21:26:53 CEST 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Jun 28 00:55:32 2010 +0200| [5c040f079afd6b1ae6f78aad680232d4cd1daa04] | committer: Laurent Aimar
Removed write only variables (ts).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5c040f079afd6b1ae6f78aad680232d4cd1daa04
---
modules/demux/ts.c | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 8df74b2..1c289dd 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -1280,7 +1280,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
#endif
case DEMUX_SET_GROUP:
{
- uint16_t i_vpid = 0, i_apid1 = 0, i_apid2 = 0, i_apid3 = 0;
ts_prg_psi_t *p_prg;
vlc_list_t *p_list;
@@ -1381,15 +1380,6 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
{
if( pid->p_owner->prg[i_prg]->i_pid_pmt == i_pmt_pid && pid->es->id )
{
- if ( pid->es->fmt.i_cat == VIDEO_ES && !i_vpid )
- i_vpid = i;
- if ( pid->es->fmt.i_cat == AUDIO_ES && !i_apid1 )
- i_apid1 = i;
- else if ( pid->es->fmt.i_cat == AUDIO_ES && !i_apid2 )
- i_apid2 = i;
- else if ( pid->es->fmt.i_cat == AUDIO_ES && !i_apid3 )
- i_apid3 = i;
-
stream_Control( p_demux->s,
STREAM_CONTROL_ACCESS,
ACCESS_SET_PRIVATE_ID_STATE,
More information about the vlc-commits
mailing list