From a8475bbdb64e638bd8161df9647876fd23f8a29a Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Fri, 28 Jan 2011 03:12:21 +0100 Subject: os: replace select with poll Select has limitations on the fd values it could accept and silently breaks when it is reached. --- libavformat/os_support.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavformat/os_support.c') 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 */ - -- cgit v1.2.3