diff options
author | 2001-05-29 17:03:17 +0000 | |
---|---|---|
committer | 2001-05-29 17:03:17 +0000 | |
commit | db73e496b0fc1a91c984e5bcb62cf2dfb34d45e7 (patch) | |
tree | bd37d782a2d79104aab1e03de1d1fc7c7f5fa6bc /network.h | |
parent | 84619a27693f89bc0124ff120204aefc0b3697cb (diff) |
Added autodetection of potential stream type.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@904 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'network.h')
-rw-r--r-- | network.h | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -1,7 +1,20 @@ -#ifndef NETWORK_H -#define NETWORK_H +/* + * Network layer for MPlayer + * by Bertrand BAUDET <bertrand_baudet@yahoo.com> + * (C) 2001, MPlayer team. + */ +#ifndef __NETWORK_H +#define __NETWORK_H + +#define STREAMING_TYPE_UNKNOWN -1 +#define STREAMING_TYPE_ASF 0 +#define STREAMING_TYPE_MP3 1 + + +#include "url.h" int connect2Server(char *host, int port); +int autodetectProtocol( URL_t *url, int *fd_out ); #endif |