summaryrefslogtreecommitdiffstats
path: root/libmpdemux/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/open.c')
-rw-r--r--libmpdemux/open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/open.c b/libmpdemux/open.c
index 081d5c1684..e4344be4e4 100644
--- a/libmpdemux/open.c
+++ b/libmpdemux/open.c
@@ -526,7 +526,7 @@ if(strncmp("dvd://",filename,6) == 0){
#endif
}
stream=new_stream(f,STREAMTYPE_STREAM);
-// if (strcmp(url->protocol, "ftp")) { // ftp is handled somewhere else
+ if (strcmp(url->protocol, "ftp")) { // ftp is handled somewhere else
if( streaming_start( stream, file_format, url )<0){
mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_UnableOpenURL, filename);
url_free(url);
@@ -535,7 +535,7 @@ if(strncmp("dvd://",filename,6) == 0){
mp_msg(MSGT_OPEN,MSGL_INFO,MSGTR_ConnToServer, url->hostname );
url_free(url);
return stream;
-// }
+ }
}
}
#endif