Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2007-04-27 04:41:50 +0400
committerAlex Beregszaszi <alex@rtfs.hu>2007-04-27 04:41:50 +0400
commitba472aaf010e69661866decbd3cfde177d8c0ee9 (patch)
treee5a955ea482a37f9c2651cd195f59072ca8291b3 /libavformat/network.h
parent8da4034f529f3c5dcc3f95a7d81032cc9be543fb (diff)
implement ff_socket_nonblock and use it in networking code
Originally committed as revision 8846 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/network.h')
-rw-r--r--libavformat/network.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/network.h b/libavformat/network.h
index 7dcbfe244c..6ceba41902 100644
--- a/libavformat/network.h
+++ b/libavformat/network.h
@@ -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);