From 2c7af5e146de97edb8ef752e2fe886e6c50eff55 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 31 Aug 2003 18:51:05 +0000 Subject: 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 --- libmpdemux/open.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libmpdemux/open.c') 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 } -- cgit v1.2.3