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

git version control git at videolan.org
Sun Nov 16 17:03:47 CET 2008


vlc | branch: 0.9-bugfix | Rémi Duraffort <ivoire at videolan.org> | Mon Nov  3 20:53:34 2008 +0100| [ae54de36b5106f02fbc2caec85fa75fd837fee96] | committer: Rémi Duraffort 

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

Signed-off-by: Rémi Duraffort <ivoire at videolan.org>

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

 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 ad55da0..852ce1a 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