vlc | branch: master | Michael Tänzer <[email protected]> | Mon Jan 11 03:15:15 2016 
+0100| [b47bdaaf46258505cfca693d2232b8372ea9c7f0] | committer: Jean-Baptiste 
Kempf

Ignore Ogg streams of unknown type but keep track of them

This fixes an issue when there is an Ogg stream in the file that is in a
type unknown to VLC it would forget about this stream ever existing and
therefore putting out errors whenever it encountered a new page with the
forgotten stream serial number:

    ogg demux error: Broken Ogg stream (serialno) mismatch

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

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

 modules/demux/ogg.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c
index 26ad579..1f5456a 100644
--- a/modules/demux/ogg.c
+++ b/modules/demux/ogg.c
@@ -2017,8 +2017,6 @@ static int Ogg_FindLogicalStreams( demux_t *p_demux )
                 {
                     msg_Dbg( p_demux, "stream %d is of unknown type",
                              p_ogg->i_streams-1 );
-                    FREENULL( p_stream );
-                    p_ogg->i_streams--;
                 }
 
                 /* we'll need to get all headers */

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to