[FFmpeg-devel] [PATCH] avformat/unix: properly handling timeout at reading
george at nsup.org
Tue Mar 20 21:58:19 EET 2018
Bodecs Bela (2018-03-20):
> see the retry_transfer_wrapper() in avio.c If
> ret = transfer_func(h, buf + len, size - len);
> is always zero, so it gets into infinite loop.
> transfer_func is unix_read in case of unix protocol.
Let me be more accurate: I am pretty sure you analysis is wrong as
recv() does not return 0 on timeout. Please tell how you came to that
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Digital signature
More information about the ffmpeg-devel