vlc | branch: master | Francois Cartegnie <[email protected]> | Wed May 30 17:12:01 2018 +0200| [1a1d764a4d6e200ea26128a0f3f5cbdb008195ae] | committer: Francois Cartegnie
demux: ogg: don't set up unknown streams > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1a1d764a4d6e200ea26128a0f3f5cbdb008195ae --- modules/demux/ogg.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c index 2d2b5ab955..eeaf09acaa 100644 --- a/modules/demux/ogg.c +++ b/modules/demux/ogg.c @@ -2087,8 +2087,11 @@ static int Ogg_FindLogicalStreams( demux_t *p_demux ) } else { + Ogg_LogicalStreamDelete( p_demux, p_stream ); + p_stream = NULL; + p_ogg->i_streams--; msg_Dbg( p_demux, "stream %d is of unknown type", - p_ogg->i_streams-1 ); + p_ogg->i_streams ); } /* we'll need to get all headers */ _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
