[vlc-commits] demux: ts: remove useless variable initialisation

Thomas Guillem git at videolan.org
Thu Apr 1 14:23:10 UTC 2021


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | 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;



More information about the vlc-commits mailing list