[FFmpeg-devel] [PATCH] remove loop in udp_read
Thu Sep 16 18:14:06 CEST 2010
the file udp.c provides a very useful API for handling udp traffic,
specifically I use it for handling raw mpegts packets.
however the fact the udp_read blocks forever makes it less useful in case no
traffic comes in.
I modified udp_read to return AVERROR(EAGAIN) in case there is currently no
and compensated for that by looping in two places in aviobuf.c
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2048 bytes
Desc: not available
More information about the ffmpeg-devel