[vlc-devel] [PATCH 1/3] asx: stop reading on XML error
Hannes Domani
ssbssa at yahoo.de
Fri Jan 29 16:01:55 CET 2016
---
modules/demux/playlist/asx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/playlist/asx.c b/modules/demux/playlist/asx.c
index 222999f..eb810c1 100644
--- a/modules/demux/playlist/asx.c
+++ b/modules/demux/playlist/asx.c
@@ -330,6 +330,7 @@ static int Demux( demux_t *p_demux )
do
{
i_type = xml_ReaderNextNode( p_xml_reader, &psz_node );
+ if( i_type == XML_READER_ERROR ) break;
if( i_type == XML_READER_STARTELEM )
{
if( !b_first_node )
--
2.7.0
More information about the vlc-devel
mailing list