diff options
author | Jan Ekström <[email protected]> | 2018-05-28 03:21:35 +0300 |
---|---|---|
committer | Jan Ekström <[email protected]> | 2018-05-28 20:33:50 +0300 |
commit | 26892c7615395f331f6143535f03a2957973e2e0 (patch) | |
tree | feccd3fa0a2ae2441b548f7ac240cb9b843ba6ab /libavutil/intmath.h | |
parent | 81b77e7bf16a754005a2af7e5cf35e2eefc91a39 (diff) |
lavf/libssh: translate a read of 0 to EOF
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 0; }`.
Reported by stnutt on IRC.
Diffstat (limited to 'libavutil/intmath.h')
0 files changed, 0 insertions, 0 deletions