[vlc-commits] http: remove unneeded xspf hack

Edward Wang git at videolan.org
Sun Oct 27 09:44:39 CET 2013


vlc | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sun Oct 27 00:39:25 2013 -0400| [a43798f3469c9cf330b7629da5694454db8acca5] | committer: Rémi Denis-Courmont

http: remove unneeded xspf hack

Ref #8449

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 modules/access/http.c |    7 -------
 1 file changed, 7 deletions(-)

diff --git a/modules/access/http.c b/modules/access/http.c
index 3a465d5..3908fb7 100644
--- a/modules/access/http.c
+++ b/modules/access/http.c
@@ -584,13 +584,6 @@ connect:
         free( p_access->psz_demux );
         p_access->psz_demux = strdup( "podcast" );
     }
-    else if( p_sys->psz_mime &&
-             !strncasecmp( p_sys->psz_mime, "application/xspf+xml", 20 ) &&
-             ( memchr( " ;\t", p_sys->psz_mime[20], 4 ) != NULL ) )
-    {
-        free( p_access->psz_demux );
-        p_access->psz_demux = strdup( "xspf-open" );
-    }
 
     if( p_sys->b_reconnect ) msg_Dbg( p_access, "auto re-connect enabled" );
 



More information about the vlc-commits mailing list