comparison libmpdemux/asf_streaming.c @ 12273:711cc5720939

Don't say that a protocol is unsupported if that's not true Patch by adland
author rtognimp
date Sun, 25 Apr 2004 12:41:01 +0000
parents acb8ed9cfe70
children a4f9c64d9d75
comparison
equal deleted inserted replaced
12272:369073d0f143 12273:711cc5720939
83 if( fd>-1 ) return fd; 83 if( fd>-1 ) return fd;
84 mp_msg(MSGT_NETWORK,MSGL_V," ===> ASF/TCP failed\n"); 84 mp_msg(MSGT_NETWORK,MSGL_V," ===> ASF/TCP failed\n");
85 if( fd==-2 ) return -1; 85 if( fd==-2 ) return -1;
86 } 86 }
87 87
88 if (!strncasecmp( proto_s, "mms", 3) || !strncasecmp( proto_s, "http", 4) || !strncasecmp( proto_s, "mmst", 4) || !strncasecmp( proto_s, "http_proxy", 10) )
89 mp_msg(MSGT_NETWORK,MSGL_ERR,"Used protocol %s\n",proto_s );
90 else
88 mp_msg(MSGT_NETWORK,MSGL_ERR,"Unknown protocol: %s\n", proto_s ); 91 mp_msg(MSGT_NETWORK,MSGL_ERR,"Unknown protocol: %s\n", proto_s );
89 return -1; 92 return -1;
90 } 93 }
91 94
92 int 95 int