vlc | branch: master | Thomas Guillem <[email protected]> | Tue Mar 16 13:42:36 
2021 +0100| [d4d802bdc70da892d22a961998b201a7c28a4932] | committer: Thomas 
Guillem

demux: ts: remove useless variable initialisation

Since the variable is set just after.

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

 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 c0a7830cce..ac8053f549 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -425,7 +425,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;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to