diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2011-01-28 03:12:21 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2011-01-28 15:45:19 +0100 |
commit | a8475bbdb64e638bd8161df9647876fd23f8a29a (patch) | |
tree | 06d3c3a4999b0085f3fa0dbc8fa49cccb27350b7 /libavformat/os_support.c | |
parent | 5ce5dbc5f3d0bce1f8d76fea1907c91469ebdd01 (diff) | |
download | ffmpeg-a8475bbdb64e638bd8161df9647876fd23f8a29a.tar.gz |
os: replace select with poll
Select has limitations on the fd values it could accept and silently
breaks when it is reached.
Diffstat (limited to 'libavformat/os_support.c')
-rw-r--r-- | libavformat/os_support.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/os_support.c b/libavformat/os_support.c index 83f0820662..70cca92c8d 100644 --- a/libavformat/os_support.c +++ b/libavformat/os_support.c @@ -236,7 +236,6 @@ int ff_socket_nonblock(int socket, int enable) } #endif /* CONFIG_NETWORK */ -#if CONFIG_FFSERVER #if !HAVE_POLL_H int poll(struct pollfd *fds, nfds_t numfds, int timeout) { @@ -305,5 +304,3 @@ int poll(struct pollfd *fds, nfds_t numfds, int timeout) return rc; } #endif /* HAVE_POLL_H */ -#endif /* CONFIG_FFSERVER */ - |