]> git.sesse.net Git - vlc/commitdiff
gather: fix uninitialized value
authorRafaël Carré <funman@videolan.org>
Tue, 6 Jan 2015 11:03:39 +0000 (12:03 +0100)
committerRafaël Carré <funman@videolan.org>
Tue, 6 Jan 2015 12:47:39 +0000 (13:47 +0100)
modules/stream_out/gather.c

index ebad0e1c1fe609b7516bd8367e060e0d71532bbb..3f5e186c4159225fdff7a3e30744e7c5443f8019 100644 (file)
@@ -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 )