[FFmpeg-devel] [PATCH] remove loop in udp_read
Thu Sep 16 18:46:59 CEST 2010
The following line is truncated:
> + return AVERROR(EG
> Apart from that, with your proposed change, what is ffmpeg supposed
> to do apart from blocking ? Busylooping ?
The patch takes the busyloop out of udp.c where it just looks weird,
and puts that busyloop where it is actually necessary: in aviobuf.c
the advantage of this approach, is that now udp.c can be used by users of
libav* (such as myself) in contexts where blocking IO is inappropriate.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2054 bytes
Desc: not available
More information about the ffmpeg-devel