--- libmpdemux/open.c.orig 2004-12-03 17:14:29.000000000 +0300 +++ libmpdemux/open.c 2005-04-15 19:47:23.000000000 +0400 @@ -501,6 +501,16 @@ url = url_new(filename); } if(url) { + if (strcmp(url->protocol, "file")==0){ + char *unescfilename = strdup(url->file); + url_unescape_string(unescfilename,url->file); + stream = open_stream_full(unescfilename,STREAM_READ, + options,file_format); + free(unescfilename); + url_free(url); + url = NULL; + return stream; + } if (strcmp(url->protocol, "smb")==0){ #ifdef LIBSMBCLIENT