[FFmpeg-devel] [PATCH 1/6] tcp: use timeout option consistently

Michael Niedermayer michaelni at gmx.at
Sat Sep 15 13:33:11 CEST 2012


On Thu, Sep 13, 2012 at 10:17:00PM +0300, Andrey Utkin wrote:
> 2012/9/13 Guillaume LECERF <glecerf at gmail.com>:
> > I think it deserves a function to avoid such code duplication.
> >
> > Just my 0.02$ ;)
> 
> ff_network_wait_fd_for(int fd, int is_write, int64_t timeout)?

i would suggest ff_network_wait_fd_timeout
but pick whatever you like

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120915/145d32df/attachment.asc>


More information about the ffmpeg-devel mailing list