diff options
Diffstat (limited to 'libmpdemux/open.c')
-rw-r--r-- | libmpdemux/open.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libmpdemux/open.c b/libmpdemux/open.c index 8dca73ad24..284b3adb2c 100644 --- a/libmpdemux/open.c +++ b/libmpdemux/open.c @@ -475,7 +475,10 @@ if(strncmp("dvd://",filename,6) == 0){ } #endif - url = url_new(filename); + // FIXME: to avoid nonsense error messages... + if (strncmp("tv://", filename, 5) && strncmp("mf://", filename, 5) && + strncmp("vcd://", filename, 6)) + url = url_new(filename); if(url) { if (strcmp(url->protocol, "smb")==0){ #ifdef LIBSMBCLIENT |