diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-06 00:30:58 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-08 02:28:20 +0200 |
commit | 9a27fd12f3bb389db6ea17127b268dfbba74dbc3 (patch) | |
tree | 55b2a0f14eaf1c07f2904f5e8c84518214b6d763 | |
parent | 097c64ffcb6aaff6b054b58d4a4ba0b10e3d68de (diff) | |
download | ffmpeg-9a27fd12f3bb389db6ea17127b268dfbba74dbc3.tar.gz |
avio: replace ETIMEDOUT by EIO
ETIMEDOUT is not available on all platforms
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/avio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index 6ed63f4c85..abc70723ef 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -272,7 +272,7 @@ static inline int retry_transfer_wrapper(URLContext *h, unsigned char *buf, int if (!wait_since) wait_since = av_gettime(); else if (av_gettime() > wait_since + h->rw_timeout) - return AVERROR(ETIMEDOUT); + return AVERROR(EIO); } av_usleep(1000); } |