[FFmpeg-devel] [PATCH 1/2] os: replace select with poll

Måns Rullgård mans
Fri Jan 28 03:20:36 CET 2011


Luca Barbato <lu_zero at gentoo.org> writes:

> Select has limitations on the fd values it could accept and silently
> breaks when it is reached.
> ---
>  libavformat/os_support.c |    3 --
>  libavformat/rtpproto.c   |   24 ++++++-------------
>  libavformat/rtsp.c       |   55 +++++++++++++++++++++++++---------------------
>  libavformat/rtsp.h       |    5 ++++
>  libavformat/rtspenc.c    |   19 +++++-----------
>  libavformat/sapdec.c     |   14 ++++-------
>  libavformat/tcp.c        |   48 +++++++++++----------------------------
>  libavformat/udp.c        |   15 ++++--------
>  8 files changed, 73 insertions(+), 110 deletions(-)

Looks good to me, but perhaps Ronald or Martin can take a look too.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list