summaryrefslogtreecommitdiffstats
path: root/libmpdemux/open.c
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-14 08:15:37 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-14 08:15:37 +0000
commitf6df520b8e3b6c87dd5f22a1ad5b1184062c0300 (patch)
tree17ad2ae08b919d9251fa11a8bf4910c0342c29e8 /libmpdemux/open.c
parent86830611e17847120730df13c32836217f62cc06 (diff)
downloadmpv-f6df520b8e3b6c87dd5f22a1ad5b1184062c0300.tar.bz2
mpv-f6df520b8e3b6c87dd5f22a1ad5b1184062c0300.tar.xz
make file:// prefix work
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15453 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/open.c')
-rw-r--r--libmpdemux/open.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/open.c b/libmpdemux/open.c
index 2222f3addc..216f5a2795 100644
--- a/libmpdemux/open.c
+++ b/libmpdemux/open.c
@@ -497,6 +497,7 @@ if(strncmp("dvd://",filename,6) == 0){
strncmp("vcd://", filename, 6) && strncmp("dvb://", filename, 6) &&
strncmp("cdda://", filename, 7) && strncmp("cddb://", filename, 7) &&
strncmp("mpst://", filename, 7) && strncmp("tivo://", filename, 7) &&
+ strncmp("file://", filename, 7) &&
strstr(filename, "://")) {
url = url_new(filename);
}