[FFmpeg-devel] [PATCH] avformat/unix: properly handling timeout at reading

Nicolas George george at nsup.org
Wed Mar 21 18:37:49 EET 2018

Bodecs Bela (2018-03-21):
> Should not the unix_write behaves theĀ  same? so, when
> ret = send(s->fd, buf, size, MSG_NOSIGNAL);
> return 0 in case of SOCK_STREAM type, then the unix_write() should return
> AVERROR_EOF instead of 0?

No: there is no EOF reporting on writing, since the application is
deciding the contents.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180321/3cc7b835/attachment.sig>

More information about the ffmpeg-devel mailing list