diff options
author | Michael Niedermayer <[email protected]> | 2013-06-24 14:23:44 +0200 |
---|---|---|
committer | Luca Barbato <[email protected]> | 2013-08-24 11:06:55 +0200 |
commit | 002ca3e099f0d54cefab250baf027a7c006410d8 (patch) | |
tree | 69138678b019454dfbf114c832b589e807583e6a /libavutil/imgutils.c | |
parent | fa6eef4210c2fd7f7324d558b09311c75987a31e (diff) |
avio: Handle AVERROR_EOF in the same way as the return value 0
This makes sure the ffurl_read_complete function actually
returns the number of bytes read, as the documentation of the
function says, even if the underlying protocol uses AVERROR_EOF
instead of 0.
Signed-off-by: Martin Storsjö <[email protected]>
(cherry picked from commit 5d876be87a115b93dd2e644049e3ada2cfb5ccb7)
Signed-off-by: Luca Barbato <[email protected]>
Diffstat (limited to 'libavutil/imgutils.c')
0 files changed, 0 insertions, 0 deletions