diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-08-31 18:51:05 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-08-31 18:51:05 +0000 |
commit | 2c7af5e146de97edb8ef752e2fe886e6c50eff55 (patch) | |
tree | 85a53ddcf7207b8dba47ed53d1bd5e02e0480ecb /libmpdemux/open.c | |
parent | 1450231f23142e0980f7bf5beb96a94fd3b38e2d (diff) | |
download | mpv-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.c | 5 |
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 } |