Re: [libav-devel] [PATCH] Factor ff_network_wait_fd and use it on udp proto

2011-04-05 Thread Luca Barbato
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/05/2011 09:05 AM, Anton Khirnov wrote: > As discussed on IRC, this changes behavior, so should be in a separate > patch. Or at least it deserves a comment in the commit message. The point of the patch is adding the other behavior and keep it uni

Re: [libav-devel] [PATCH] Factor ff_network_wait_fd and use it on udp proto

2011-04-05 Thread Martin Storsjö
On Mon, 4 Apr 2011, Luca Barbato wrote: > diff --git a/libavformat/udp.c b/libavformat/udp.c > index 8d50218..4e32a1e 100644 > --- a/libavformat/udp.c > +++ b/libavformat/udp.c > @@ -444,57 +444,41 @@ static int udp_open(URLContext *h, const char *uri, int > flags) > return AVERROR(EIO); >

Re: [libav-devel] [PATCH] Factor ff_network_wait_fd and use it on udp proto

2011-04-05 Thread Anton Khirnov
On Mon, Apr 04, 2011 at 07:02:32PM +0200, Luca Barbato wrote: > Polling is common to the network protocols: udp, tcp and, once merged, > sctp. > --- > libavformat/network.h | 13 +++ > libavformat/tcp.c | 14 +-- > libavformat/udp.c | 58 +-

[libav-devel] [PATCH] Factor ff_network_wait_fd and use it on udp proto

2011-04-04 Thread Luca Barbato
Polling is common to the network protocols: udp, tcp and, once merged, sctp. --- libavformat/network.h | 13 +++ libavformat/tcp.c | 14 +-- libavformat/udp.c | 58 +--- 3 files changed, 36 insertions(+), 49 deletions(-) di