[vlc-commits] ogg: initialize skeleton values that will be used in Close() (Fix #9830)

Tristan Matthews git at videolan.org
Mon Nov 11 05:57:35 CET 2013


vlc | branch: master | Tristan Matthews <le.businessman at gmail.com> | Sun Nov 10 12:50:04 2013 -0500| [5d55f77f4356747ab3e3e6eb7ab8ae264828af5b] | committer: Francois Cartegnie

ogg: initialize skeleton values that will be used in Close() (Fix #9830)

Signed-off-by: Francois Cartegnie <fcvlcdev at free.fr>

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

 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 =



More information about the vlc-commits mailing list