[vlc-devel] [PATCH v2] ogg: initialize skeleton values that will be used in Close()

Tristan Matthews le.businessman at gmail.com
Sun Nov 10 18:50:04 CET 2013


Fixes #9830
---
 modules/mux/ogg.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/mux/ogg.c b/modules/mux/ogg.c
index f4f5d9b..5da5093 100644
--- a/modules/mux/ogg.c
+++ b/modules/mux/ogg.c
@@ -242,6 +242,8 @@ static int Open( vlc_object_t *p_this )
     p_sys->i_del_streams  = 0;
     p_sys->pp_del_streams = 0;
     p_sys->i_pos = 0;
+    p_sys->skeleton.b_create = false;
+    p_sys->skeleton.b_head_done = false;
     p_sys->skeleton.i_index_intvl =
             var_InheritInteger( p_this, SOUT_CFG_PREFIX "indexintvl" );
     p_sys->skeleton.i_index_ratio =
-- 
1.8.1.2




More information about the vlc-devel mailing list