Commit 9a27fd12 authored by Michael Niedermayer's avatar Michael Niedermayer

avio: replace ETIMEDOUT by EIO

ETIMEDOUT is not available on all platforms
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 097c64ff
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment