From aefb100e689e702c9d257a575d417e1db13c0221 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 22 Dec 2013 23:43:09 +0100 Subject: asxparser: remove commented code --- common/asxparser.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/common/asxparser.c b/common/asxparser.c index 8e77874f27..031fdb7572 100644 --- a/common/asxparser.c +++ b/common/asxparser.c @@ -427,18 +427,6 @@ asx_parse_ref(ASX_Parser_t* parser, char** attribs) { asx_warning_attrib_required(parser,"REF" ,"HREF" ); return; } -#if 0 - // replace http my mmshttp to avoid infinite loops - // disabled since some playlists for e.g. WinAMP use asx as well - // "-user-agent NSPlayer/4.1.0.3856" is a possible workaround - if (strncmp(href, "http://", 7) == 0) { - char *newref = malloc(3 + strlen(href) + 1); - strcpy(newref, "mms"); - strcpy(newref + 3, href); - free(href); - href = newref; - } -#endif playlist_add_file(parser->pl, href); -- cgit v1.2.3