[vlc-commits] muxers: ogg: set invalid granulepos value (fix #8725)

Francois Cartegnie git at videolan.org
Sat Sep 28 02:02:34 CEST 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Sep 28 02:00:11 2013 +0200| [7202a56a86b2f7d3c8c4d969a4db719427e25ca3] | committer: Francois Cartegnie

muxers: ogg: set invalid granulepos value (fix #8725)

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

 modules/mux/ogg.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/mux/ogg.c b/modules/mux/ogg.c
index 99252b0..c43aecb 100644
--- a/modules/mux/ogg.c
+++ b/modules/mux/ogg.c
@@ -989,6 +989,7 @@ static int MuxBlock( sout_mux_t *p_mux, sout_input_t *p_input )
     op.b_o_s    = 0;
     op.e_o_s    = 0;
     op.packetno = p_stream->i_packet_no++;
+    op.granulepos = -1;
 
     if( p_stream->i_cat == AUDIO_ES )
     {



More information about the vlc-commits mailing list