diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-06-24 14:23:44 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-08-24 11:06:55 +0200 |
commit | 002ca3e099f0d54cefab250baf027a7c006410d8 (patch) | |
tree | 69138678b019454dfbf114c832b589e807583e6a /libavcodec/error_resilience.c | |
parent | fa6eef4210c2fd7f7324d558b09311c75987a31e (diff) | |
download | ffmpeg-002ca3e099f0d54cefab250baf027a7c006410d8.tar.gz |
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ö <martin@martin.st>
(cherry picked from commit 5d876be87a115b93dd2e644049e3ada2cfb5ccb7)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/error_resilience.c')
0 files changed, 0 insertions, 0 deletions