diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2013-09-13 17:21:54 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2013-09-13 17:21:54 +0000 |
commit | 3b40219431d3442123e04f9eded596be44ada830 (patch) | |
tree | 9ed1d2413d6ba3c294d25049335c4e9395bd88fd /src/htstools.c | |
parent | 9f0340968f1c48895048ab3da72e0c74acc55f3c (diff) |
Removed MMS (Microsoft Media Server) ripping code (mmsrip)
* protocol was finally dropped in Windows Media Services 2008
* mmsrip is not supported anymore
* some licensing issues regarding the protocol (ha-ha)
Diffstat (limited to 'src/htstools.c')
-rw-r--r-- | src/htstools.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/htstools.c b/src/htstools.c index bf10be8..41a08a6 100644 --- a/src/htstools.c +++ b/src/htstools.c @@ -161,12 +161,6 @@ int ident_url_relatif(const char *lien, const char *origin_adr, } else { ok = -2; // non supporté } -#if HTS_USEMMS - } else if (strfield(lien, "mms://")) { - if (ident_url_absolute(lien, adr, fil) == -1) { - ok = -1; // erreur URL - } -#endif #if HTS_USEOPENSSL } else if (strfield(lien, "https://")) { // Note: ftp:foobar.gif is not valid @@ -177,9 +171,6 @@ int ident_url_relatif(const char *lien, const char *origin_adr, } else if ((scheme) && ((!strfield(lien, "http:")) && (!strfield(lien, "https:")) && (!strfield(lien, "ftp:")) -#if HTS_USEMMS - && (!strfield(lien, "mms:")) -#endif )) { ok = -1; // unknown scheme } else { // c'est un lien relatif @@ -209,12 +200,6 @@ int ident_url_relatif(const char *lien, const char *origin_adr, lien += 4; strcpybuff(adr, "ftp://"); // même adresse forcée en ftp strcatbuff(adr, jump_protocol(origin_adr)); -#if HTS_USEMMS - } else if (strfield(lien, "mms:")) { - lien += 4; - strcpybuff(adr, "mms://"); // même adresse forcée en ftp - strcatbuff(adr, jump_protocol(origin_adr)); -#endif } else { strcpybuff(adr, origin_adr); // même adresse ; et même éventuel protocole } |