summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-03 19:26:33 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-03 19:26:33 +0000
commite7b04943ad98e24d6cae422d150e091de81be4ea (patch)
tree456cbef5ee0db31329de6fe0280179e5e69610b2 /libmpdemux
parente06c05bb33eec82d3fe15d0e3467e94d366ac020 (diff)
downloadmpv-e7b04943ad98e24d6cae422d150e091de81be4ea.tar.bz2
mpv-e7b04943ad98e24d6cae422d150e091de81be4ea.tar.xz
cdda && cddb aren't uris too (hopefully all the pseudo urls are catched before url_new())
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10808 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/open.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/open.c b/libmpdemux/open.c
index 4a23f00aa8..859713a752 100644
--- a/libmpdemux/open.c
+++ b/libmpdemux/open.c
@@ -478,6 +478,7 @@ 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("dvb://", filename, 6) &&
+ strncmp("cdda://", filename, 7) && strncmp("cddb://", filename, 7) &&
strstr(filename, "://"))
url = url_new(filename);
if(url) {