[vlc-commits] [Git][videolan/vlc][master] 2 commits: Revert "demux: ts: remove useless variable initialisation"

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Aug 13 06:04:35 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
defcf0c2 by Thomas Guillem at 2025-08-13T05:44:46+00:00
Revert "demux: ts: remove useless variable initialisation"

This reverts commit d4d802bdc70da892d22a961998b201a7c28a4932.

Fixes #29228

- - - - -
d9978420 by Thomas Guillem at 2025-08-13T05:44:46+00:00
demux: ts: document variable initialisation

- - - - -


1 changed file:

- modules/demux/mpeg/ts.c


Changes:

=====================================
modules/demux/mpeg/ts.c
=====================================
@@ -420,6 +420,8 @@ static int Open( vlc_object_t *p_this )
         return VLC_EGENERIC;
     }
 
+    /* SetPIDFilter() will read b_access_control, so initialize it first */
+    p_sys->b_access_control = true;
     p_sys->b_access_control = ( VLC_SUCCESS == SetPIDFilter( p_sys, patpid, true ) );
 
     p_sys->i_pmt_es = 0;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/04f8c036a9339d0e5590c53ad5413ec44c11529b...d997842067977caa4c54d5c7c9c3f0e72061f330

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/04f8c036a9339d0e5590c53ad5413ec44c11529b...d997842067977caa4c54d5c7c9c3f0e72061f330
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list