[vlc-commits] gather: fix uninitialized value

Rafaël Carré git at videolan.org
Tue Jan 6 13:47:52 CET 2015


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Jan  6 12:03:39 2015 +0100| [23b2d36779eb14607a3e71f1f70b4784c1502321] | committer: Rafaël Carré

gather: fix uninitialized value

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=23b2d36779eb14607a3e71f1f70b4784c1502321
---

 modules/stream_out/gather.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/stream_out/gather.c b/modules/stream_out/gather.c
index ebad0e1..3f5e186 100644
--- a/modules/stream_out/gather.c
+++ b/modules/stream_out/gather.c
@@ -181,6 +181,7 @@ static sout_stream_id_sys_t * Add( sout_stream_t *p_stream, es_format_t *p_fmt )
     if( id == NULL )
         return NULL;
     es_format_Copy( &id->fmt, p_fmt );
+    id->b_streamswap     = false;
     id->b_used           = true;
     id->id               = sout_StreamIdAdd( p_stream->p_next, &id->fmt );
     if( id->id == NULL )



More information about the vlc-commits mailing list