mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
implement ff_socket_nonblock and use it in networking code
Originally committed as revision 8846 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -32,6 +32,8 @@
|
||||
#define ff_neterrno() errno
|
||||
#define FF_NETERROR(err) err
|
||||
|
||||
int ff_socket_nonblock(int socket, int enable);
|
||||
|
||||
#if !defined(HAVE_INET_ATON)
|
||||
/* in os_support.c */
|
||||
int inet_aton (const char * str, struct in_addr * add);
|
||||
|
||||
Reference in New Issue
Block a user