summaryrefslogtreecommitdiffstats
path: root/libmpdemux/open.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-31 18:51:05 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-31 18:51:05 +0000
commit2c7af5e146de97edb8ef752e2fe886e6c50eff55 (patch)
tree85a53ddcf7207b8dba47ed53d1bd5e02e0480ecb /libmpdemux/open.c
parent1450231f23142e0980f7bf5beb96a94fd3b38e2d (diff)
downloadmpv-2c7af5e146de97edb8ef752e2fe886e6c50eff55.tar.bz2
mpv-2c7af5e146de97edb8ef752e2fe886e6c50eff55.tar.xz
serious bugs - 1l absinth (changed to absinth against cola inflation)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10736 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/open.c')
-rw-r--r--libmpdemux/open.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libmpdemux/open.c b/libmpdemux/open.c
index 284b3adb2c..4a23f00aa8 100644
--- a/libmpdemux/open.c
+++ b/libmpdemux/open.c
@@ -477,7 +477,8 @@ if(strncmp("dvd://",filename,6) == 0){
// FIXME: to avoid nonsense error messages...
if (strncmp("tv://", filename, 5) && strncmp("mf://", filename, 5) &&
- strncmp("vcd://", filename, 6))
+ strncmp("vcd://", filename, 6) && strncmp("dvb://", filename, 6) &&
+ strstr(filename, "://"))
url = url_new(filename);
if(url) {
if (strcmp(url->protocol, "smb")==0){
@@ -513,7 +514,7 @@ if(strncmp("dvd://",filename,6) == 0){
stream->end_pos=len;
return stream;
#else
- mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_SMBNotCompiled,filename);
+ mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_SMBNotCompiled);
return NULL;
#endif
}