[FFmpeg-devel] [RFC] Split libavformat
Wed Nov 28 04:15:11 CET 2007
On Tue, Nov 27, 2007 at 04:21:04PM +0100, Luca Abeni wrote:
> BTW, where should the lseek define needed by windows go?
> > So that only leaves poll(), which is used in dv1394 (which should use
> > select(), not poll())
> Anyway, dv1394 is a linux thing, so poll() is not a problem.
But it's including it from the wrong location still, sys/poll.h
instead of poll.h. This breaks on my system.
> > and in ffserver. Interestingly, poll() is right now
> > under CONFIG_FFSERVER, maybe that has to be fixed
> I think that is ok... ffserver is the only poll() user that is supposed to
> work on systems that do not provide poll().
Why not just always use select? It's more portable and a simpler API.
More information about the ffmpeg-devel