summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-22 23:43:09 +0100
committerwm4 <wm4@nowhere>2013-12-22 23:43:09 +0100
commitaefb100e689e702c9d257a575d417e1db13c0221 (patch)
treee7116f38e056d381f8d78c41a9c9f433aaeabeef
parenta2bc1c28a5339141ab4e1461d5978ff57fefd25c (diff)
downloadmpv-aefb100e689e702c9d257a575d417e1db13c0221.tar.bz2
mpv-aefb100e689e702c9d257a575d417e1db13c0221.tar.xz
asxparser: remove commented code
-rw-r--r--common/asxparser.c12
1 files changed, 0 insertions, 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);