[vlc-devel] commit: xspf: both "xmlns" and "xmlns:vlc" are acceptable. (Fix #2260) ( Rémi Duraffort )

git version control git at videolan.org
Mon Nov 3 20:54:14 CET 2008


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Mon Nov  3 20:53:34 2008 +0100| [108850c2e04b7d32ef2539c90eb47167dc49ab79] | committer: Rémi Duraffort 

xspf: both "xmlns" and "xmlns:vlc" are acceptable. (Fix #2260)

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

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

diff --git a/modules/demux/playlist/xspf.c b/modules/demux/playlist/xspf.c
index a9617dd..ea51cf9 100644
--- a/modules/demux/playlist/xspf.c
+++ b/modules/demux/playlist/xspf.c
@@ -206,7 +206,7 @@ static bool parse_playlist_node COMPLEX_INTERFACE
                 msg_Warn( p_demux, "unsupported XSPF version" );
         }
         /* attribute: xmlns */
-        else if( !strcmp( psz_name, "xmlns" ) )
+        else if( !strcmp( psz_name, "xmlns" ) || !strcmp( psz_name, "xmlns:vlc" ) )
             ;
         else if( !strcmp( psz_name, "xml:base" ) )
         {




More information about the vlc-devel mailing list