]> git.sesse.net Git - vlc/commitdiff
demux: ts: add missing initializer
authorFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 28 Jan 2015 20:04:02 +0000 (21:04 +0100)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Wed, 28 Jan 2015 21:27:58 +0000 (22:27 +0100)
modules/demux/ts.c

index 670bc7a76070486fc5eccc37baaf34fc9e7a2bed..11860623d36e67e49dbfcfd446d195356e8836fb 100644 (file)
@@ -4645,7 +4645,7 @@ static void PMTCallBack( void *data, dvbpsi_pmt_t *p_pmt )
     dvbpsi_pmt_es_t      *p_es;
     for( p_es = p_pmt->p_first_es; p_es != NULL; p_es = p_es->p_next )
     {
-        ts_pid_t tmp_pid, *old_pid = 0, *pid = &tmp_pid;
+        ts_pid_t tmp_pid = {0}, *old_pid = {0}, *pid = &tmp_pid;
 
         /* Find out if the PID was already declared */
         for( int i = 0; i < i_clean; i++ )