[vlc-commits] demux: ts: remove useless initialization

Zhao Zhili git at videolan.org
Wed Jul 11 16:05:06 CEST 2018


vlc | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Fri Jun  1 17:55:54 2018 +0800| [ce3638827b3cd1be91fae3810c4af9315279003d] | committer: Jean-Baptiste Kempf

demux: ts: remove useless initialization

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 3c6ced8e9b..a24a3c1305 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;



More information about the vlc-commits mailing list