diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-02-08 18:28:12 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-02-08 18:28:12 +0000 |
commit | d794982367e22387879d5f9fe5d0f9e03990c1c7 (patch) | |
tree | d7f9ee6e0bd079dfb213396176020aaca442561e /asxparser.c | |
parent | 398e1c1595e23143706f342b5b133b842e595b2f (diff) | |
download | mpv-d794982367e22387879d5f9fe5d0f9e03990c1c7.tar.bz2 mpv-d794982367e22387879d5f9fe5d0f9e03990c1c7.tar.xz |
Disable http->mmshttp rewriting hack introduced in r25168,
unfortunately WMP is not the only one using asx.
Fixes http://www.fresh80s.de/listen.wax
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25960 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'asxparser.c')
-rw-r--r-- | asxparser.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/asxparser.c b/asxparser.c index ad9101a3d7..cf72875886 100644 --- a/asxparser.c +++ b/asxparser.c @@ -448,7 +448,10 @@ asx_parse_ref(ASX_Parser_t* parser, char** attribs, play_tree_t* pt) { 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"); @@ -456,6 +459,7 @@ asx_parse_ref(ASX_Parser_t* parser, char** attribs, play_tree_t* pt) { free(href); href = newref; } +#endif play_tree_add_file(pt,href); |