[FFmpeg-devel] [PATCH] remove loop in udp_read

Carl Eugen Hoyos cehoyos
Thu Sep 16 19:02:48 CEST 2010


aviad rozenhek <aviadr1 <at> gmail.com> writes:

> -        len = s->read_packet(s->opaque, dst, len);
> +        do { len = s->read_packet(s->opaque, dst, len); } while(len ==
> AVERROR(EAGAIN));

Apart from looking ugly, this change (and the one below) should be done without
removing a line from the current source.

Carl Eugen





More information about the ffmpeg-devel mailing list