[dvblast-devel] [Git][videolan/dvblast][master] 2 commits: Fix uninitialized value

Christophe Massiot (@cmassiot) gitlab at videolan.org
Tue Jul 29 14:25:27 UTC 2025



Christophe Massiot pushed to branch master at VideoLAN / dvblast


Commits:
4ac05206 by Clément Vasseur at 2025-07-28T16:46:47+02:00
Fix uninitialized value

The i_packets_passed field was used in PrintCb() without being
initialized first.

- - - - -
f7c25e74 by Christophe Massiot at 2025-07-29T16:25:15+02:00
Merge branch 'nto-demux-uninitialized'

- - - - -


1 changed file:

- demux.c


Changes:

=====================================
demux.c
=====================================
@@ -2427,6 +2427,7 @@ static void HandlePAT( mtime_t i_dts )
                     for ( r = 0; r < MAX_EIT_TABLES; r++ ) {
                         psi_table_init( p_sid->eit_table[r].data );
                     }
+                    p_sid->i_packets_passed = 0;
                     i_nb_sids++;
                     pp_sids = realloc( pp_sids, sizeof(sid_t *) * i_nb_sids );
                     pp_sids[i_nb_sids - 1] = p_sid;



View it on GitLab: https://code.videolan.org/videolan/dvblast/-/compare/405917e77f0f08b4c130ae4611c3ca6cf82119c1...f7c25e74dc9a2b61aa1a6274a6cdea6903b75fdf

-- 
View it on GitLab: https://code.videolan.org/videolan/dvblast/-/compare/405917e77f0f08b4c130ae4611c3ca6cf82119c1...f7c25e74dc9a2b61aa1a6274a6cdea6903b75fdf
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the dvblast-devel mailing list