summaryrefslogtreecommitdiff
path: root/src/htsparse.c
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-09-13 17:21:54 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-09-13 17:21:54 +0000
commit3b40219431d3442123e04f9eded596be44ada830 (patch)
tree9ed1d2413d6ba3c294d25049335c4e9395bd88fd /src/htsparse.c
parent9f0340968f1c48895048ab3da72e0c74acc55f3c (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/htsparse.c')
-rw-r--r--src/htsparse.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/htsparse.c b/src/htsparse.c
index 0e18eac..d38a04b 100644
--- a/src/htsparse.c
+++ b/src/htsparse.c
@@ -1701,9 +1701,6 @@ int htsparse(htsmoduleStruct * str, htsmoduleStructExtended * stre) {
|| (strfield(tempo, "https:")
)
#endif
-#if HTS_USEMMS
- || strfield(tempo, "mms:")
-#endif
) // ok pas de problème
url_ok = 1;
else if (tempo[strlen(tempo) - 1] == '/') { // un slash: ok..
@@ -3230,9 +3227,6 @@ int htsparse(htsmoduleStruct * str, htsmoduleStructExtended * stre) {
if (!just_test_it) {
if ((!strfield(adr, "ftp://")) // non ftp
&& (!strfield(adr, "file://"))
-#if HTS_USEMMS
- && (!strfield(adr, "mms://"))
-#endif
) { // non file
if (opt->robots) { // récupérer robots
if (ishtml(opt, fil) != 0) { // pas la peine pour des fichiers isolés
@@ -4842,11 +4836,7 @@ int hts_wait_delayed(htsmoduleStruct * str, char *adr, char *fil, char *save,
}
// ftp: stop!
- if (strfield(mov_url, "ftp://")
-#if HTS_USEMMS
- || strfield(mov_url, "mms://")
-#endif
- ) {
+ if (strfield(mov_url, "ftp://")) {
strcpybuff(adr, mov_adr);
strcpybuff(fil, mov_fil);
break;