[vlc-commits] demux: ts: remove pmt access control test

Francois Cartegnie git at videolan.org
Sun Mar 6 22:05:18 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sun Mar  6 22:03:11 2016 +0100| [7283809d252a0e11e0ef3b7bfea717ab10276840] | committer: Francois Cartegnie

demux: ts: remove pmt access control test

Should already have been evaluated on pat

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

 modules/demux/mpeg/ts_psi.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/demux/mpeg/ts_psi.c b/modules/demux/mpeg/ts_psi.c
index 939bf42..4aacec9 100644
--- a/modules/demux/mpeg/ts_psi.c
+++ b/modules/demux/mpeg/ts_psi.c
@@ -158,9 +158,9 @@ static void PATCallBack( void *data, dvbpsi_pat_t *p_dvbpsipat )
                 ARRAY_APPEND( p_sys->programs, p_program->i_number );
             }
 
-            if( SetPIDFilter( p_sys, pmtpid, true ) )
-                p_sys->b_access_control = false;
-            else if ( p_sys->es_creation == DELAY_ES )
+            SetPIDFilter( p_sys, pmtpid, true );
+
+            if ( p_sys->es_creation == DELAY_ES )
                 p_sys->es_creation = CREATE_ES;
         }
     }



More information about the vlc-commits mailing list