[vlc-commits] ts demux: remove duplicate code

Rafaël Carré git at videolan.org
Sun Apr 28 09:04:46 CEST 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Apr 28 08:42:54 2013 +0200| [cdcd6ade983fd646e596b51eee37ef0e774f682d] | committer: Rafaël Carré

ts demux: remove duplicate code

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cdcd6ade983fd646e596b51eee37ef0e774f682d
---

 modules/demux/ts.c |    7 -------
 1 file changed, 7 deletions(-)

diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 0c83422..71ced2b 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -3939,13 +3939,6 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_pmt )
             }
             else
             {
-                if( old_pid )
-                {
-                    PIDClean( p_demux, old_pid );
-                    TAB_REMOVE( i_clean, pp_clean, old_pid );
-                    old_pid = 0;
-                }
-
                 pid->es->id = es_out_Add( p_demux->out, &pid->es->fmt );
                 for( int i = 0; i < pid->i_extra_es; i++ )
                 {



More information about the vlc-commits mailing list