[FFmpeg-devel] [PATCH] Move poll() out of libavformat
Ramiro Ribeiro Polla
Wed Aug 8 13:57:53 CEST 2007
>>> Currently, for systems that lack poll(), an emulation is
>>> implemented in
>>> libavformat/os_support.c. I don't think it's a good idea to make
>>> library export poll(), and since only ffserver.c uses it, I suggest
>>> move it to ffserver.c
>> Generally I don't like this, what if we'll use poll() in an other
>> Move it again?
> We can also use a private name for it and #define poll ff_os_poll in
Well, defining poll to ff_os_poll in a public header seems just as bad
as exporting poll() in a lib. What about making ffserver use ff_os_poll
instead of poll?
More information about the ffmpeg-devel