diff options
author | Jan Ekström <jeebjp@gmail.com> | 2018-05-28 03:21:35 +0300 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2018-05-28 20:34:53 +0300 |
commit | c8b57d4333b1bc5c4125fdac8fbf4625c399fc9c (patch) | |
tree | ae0f4035bdd2c992f11a645153f258e64ec8afc2 /libavcodec/x86 | |
parent | da399903c76db5d04c651d1589060bb9c5c76587 (diff) | |
download | ffmpeg-c8b57d4333b1bc5c4125fdac8fbf4625c399fc9c.tar.gz |
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.
(cherry picked from commit 26892c7615395f331f6143535f03a2957973e2e0)
Diffstat (limited to 'libavcodec/x86')
0 files changed, 0 insertions, 0 deletions