1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00
mpv/network.h
bertrand db73e496b0 Added autodetection of potential stream type.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@904 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-05-29 17:03:17 +00:00

21 lines
372 B
C

/*
* 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