[vlc-devel] [PATCH] demux: ts: remove useless initialization

Zhao Zhili quinkblack at foxmail.com
Fri Jun 1 11:55:54 CEST 2018


---
 modules/demux/mpeg/ts.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index 1cc1ec5..3f69a40 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -419,7 +419,6 @@ static int Open( vlc_object_t *p_this )
         return VLC_EGENERIC;
     }
 
-    p_sys->b_access_control = true;
     p_sys->b_access_control = ( VLC_SUCCESS == SetPIDFilter( p_sys, patpid, true ) );
 
     p_sys->i_pmt_es = 0;
-- 
2.9.5



More information about the vlc-devel mailing list