diff options
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/open.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libmpdemux/open.c b/libmpdemux/open.c index 33cdbfd57b..baccdd3abc 100644 --- a/libmpdemux/open.c +++ b/libmpdemux/open.c @@ -464,6 +464,7 @@ if(strncmp("dvd://",filename,6) == 0){ strncmp("cdda://", filename, 7) && strncmp("cddb://", filename, 7) && strncmp("mpst://", filename, 7) && strncmp("tivo://", filename, 7) && strncmp("file://", filename, 7) && strncmp("cue://", filename, 6) && + strncmp("ftp://", filename, 6) && strstr(filename, "://")) { url = url_new(filename); } @@ -507,7 +508,6 @@ if(strncmp("dvd://",filename,6) == 0){ #endif } stream=new_stream(f,STREAMTYPE_STREAM); - 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); @@ -520,7 +520,6 @@ if(strncmp("dvd://",filename,6) == 0){ return stream; } } - } #endif //============ Open STDIN or plain FILE ============ |