From 3b40219431d3442123e04f9eded596be44ada830 Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Fri, 13 Sep 2013 17:21:54 +0000 Subject: 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) --- src/htslib.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/htslib.c') diff --git a/src/htslib.c b/src/htslib.c index c86002f..26db5f7 100644 --- a/src/htslib.c +++ b/src/htslib.c @@ -2408,10 +2408,6 @@ int ident_url_absolute(const char *url, char *adr, char *fil) { #if HTS_USEOPENSSL } else if ((pos = strfield(url, "https:"))) { // HTTPS strcpybuff(adr, "https://"); -#endif -#if HTS_USEMMS - } else if ((pos = strfield(url, "mms:"))) { // mms - strcpybuff(adr, "mms://"); #endif } else if (scheme) { return -1; // erreur non reconnu @@ -3590,10 +3586,6 @@ HTS_INLINE char *jump_protocol(const char *source) { source += p; else if ((p = strfield(source, "file:"))) source += p; -#if HTS_USEMMS - else if ((p = strfield(source, "mms:"))) - source += p; -#endif // net_path if (strncmp(source, "//", 2) == 0) source += 2; @@ -5537,9 +5529,6 @@ HTSEXT_API httrackp *hts_create_opt(void) { opt->maxcache = 1048576 * 32; // a peu près 32Mo en cache max -- OPTION NON PARAMETRABLE POUR L'INSTANT -- //opt->maxcache_anticipate=256; // maximum de liens à anticiper opt->maxtime = -1; // temps max en secondes -#if HTS_USEMMS - opt->mms_maxtime = 60 * 3600; // max time for mms streams (one hour) -#endif opt->maxrate = 25000; // taux maxi opt->maxconn = 5.0; // nombre connexions/s opt->waittime = -1; // wait until.. hh*3600+mm*60+ss -- cgit v1.2.3