[vlc-commits] demux: ts: add missing initializer
Francois Cartegnie
git at videolan.org
Wed Jan 28 22:28:15 CET 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jan 28 21:04:02 2015 +0100| [27634b113a2c88aff2fcb688793ce11634ff9a92] | committer: Francois Cartegnie
demux: ts: add missing initializer
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=27634b113a2c88aff2fcb688793ce11634ff9a92
---
modules/demux/ts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/ts.c b/modules/demux/ts.c
index 670bc7a..1186062 100644
--- a/modules/demux/ts.c
+++ b/modules/demux/ts.c
@@ -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++ )
More information about the vlc-commits
mailing list