comparison libmpdemux/open.c @ 10807:fb66c426cd91

cdda && cddb aren't uris too (hopefully all the pseudo urls are catched before url_new())
author alex
date Wed, 03 Sep 2003 19:26:33 +0000
parents 8a10d5d0ce86
children e7c8200ffdc5
comparison
equal deleted inserted replaced
10806:3ac138da8d47 10807:fb66c426cd91
476 #endif 476 #endif
477 477
478 // FIXME: to avoid nonsense error messages... 478 // FIXME: to avoid nonsense error messages...
479 if (strncmp("tv://", filename, 5) && strncmp("mf://", filename, 5) && 479 if (strncmp("tv://", filename, 5) && strncmp("mf://", filename, 5) &&
480 strncmp("vcd://", filename, 6) && strncmp("dvb://", filename, 6) && 480 strncmp("vcd://", filename, 6) && strncmp("dvb://", filename, 6) &&
481 strncmp("cdda://", filename, 7) && strncmp("cddb://", filename, 7) &&
481 strstr(filename, "://")) 482 strstr(filename, "://"))
482 url = url_new(filename); 483 url = url_new(filename);
483 if(url) { 484 if(url) {
484 if (strcmp(url->protocol, "smb")==0){ 485 if (strcmp(url->protocol, "smb")==0){
485 #ifdef LIBSMBCLIENT 486 #ifdef LIBSMBCLIENT