[vlc-devel] commit: asx.c: check for </MoreInfo> tag also (Ilkka Ollakka )

git version control git at videolan.org
Sun Oct 25 10:24:39 CET 2009


vlc | branch: master | Ilkka Ollakka <ileoo at iki.fi> | Sun Oct 25 11:23:10 2009 +0200| [4a590357633e5ad7419034bd7f20bf175cc12f45] | committer: Ilkka Ollakka 

asx.c: check for </MoreInfo> tag also

this should fix #3013

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

 modules/demux/playlist/asx.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/demux/playlist/asx.c b/modules/demux/playlist/asx.c
index 4e814e8..4f99070 100644
--- a/modules/demux/playlist/asx.c
+++ b/modules/demux/playlist/asx.c
@@ -433,6 +433,8 @@ static int Demux( demux_t *p_demux )
                 }
                 if( ( psz_parse = strcasestr( psz_parse, "/>" ) ) )
                     psz_parse += 2;
+                else if( ( psz_parse = strcasestr( psz_parse, "</MoreInfo>") ) )
+                    psz_parse += 11;
                 else continue;
             }
             else if( !strncasecmp( psz_parse, "<ABSTRACT>", 10 ) )




More information about the vlc-devel mailing list