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

Francois Cartegnie git at videolan.org
Sat Sep 28 11:01:20 CEST 2013


vlc/vlc-2.1 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Sep 28 02:00:11 2013 +0200| [13dd9b67cb6a99aa511fdc6da0cdf4448aa50ed0] | committer: Jean-Baptiste Kempf

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

(cherry picked from commit 7202a56a86b2f7d3c8c4d969a4db719427e25ca3)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=13dd9b67cb6a99aa511fdc6da0cdf4448aa50ed0
---

 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