Ronald S. Bultje <rsbul...@gmail.com> added the comment: I'll have a look.
(1) as for URL_FLAG_NONBLOCK, it's sn API function, and ffmpeg.c does not use this API, so it is never set. It not being set, the read loop should attempt to read forever until data has been read, just like a blocking read(2) call. (2-3) for reading all data, use url_read_complete(). There is currently no write equivalent of this function but I'm not against adding that. ________________________________________________ FFmpeg issue tracker <iss...@roundup.ffmpeg.org> <https://roundup.ffmpeg.org/issue2611> ________________________________________________