Re: [FFmpeg-devel] [PATCH] lavf/libssh: translate a read of 0 to EOF

2018-05-28 Thread Jan Ekström
On Mon, May 28, 2018 at 2:16 PM, Nicolas George wrote: > Jan Ekström (2018-05-28): >> Yet another case of forgotten 0 =! EOF translation. >> >> While the documentation for this specific synchronous read >> function does not mention it, the documentation for >> `sftp_async_read` documents it, as

Re: [FFmpeg-devel] [PATCH] lavf/libssh: translate a read of 0 to EOF

2018-05-28 Thread Nicolas George
Jan Ekström (2018-05-28): > Yet another case of forgotten 0 =! EOF translation. > > While the documentation for this specific synchronous read > function does not mention it, the documentation for > `sftp_async_read` documents it, as well as looking at the > implementation of this function leads

Re: [FFmpeg-devel] [PATCH] lavf/libssh: translate a read of 0 to EOF

2018-05-28 Thread Jan Ekström
On Mon, May 28, 2018, 03:21 Jan Ekström wrote: > Yet another case of forgotten 0 =! EOF translation. > > While the documentation for this specific synchronous read > function does not mention it, the documentation for > `sftp_async_read` documents it, as well as looking at the

[FFmpeg-devel] [PATCH] lavf/libssh: translate a read of 0 to EOF

2018-05-27 Thread Jan Ekström
Yet another case of forgotten 0 =! EOF translation. While the documentation for this specific synchronous read function does not mention it, the documentation for `sftp_async_read` documents it, as well as looking at the implementation of this function leads one to find `if (handle->eof) { return