os: replace select with poll
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 28 Jan 2011 02:12:21 +0000 (03:12 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 30 Jan 2011 02:40:59 +0000 (03:40 +0100)
commitd0eb91ad0451cdb6c062b2d4760bfa7f8bb4db6b
treeaad8df0b1a480fbcdcae278fe393f287106d76d3
parentb5f83debf5384195c8700d024fb760ab8d7250aa
os: replace select with poll

Select has limitations on the fd values it could accept and silently
breaks when it is reached.
(cherry picked from commit a8475bbdb64e638bd8161df9647876fd23f8a29a)
libavformat/os_support.c
libavformat/rtpproto.c
libavformat/rtsp.c
libavformat/rtsp.h
libavformat/rtspenc.c
libavformat/sapdec.c
libavformat/tcp.c
libavformat/udp.c