Skip to content
Snippets Groups Projects
Commit 9a27fd12 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avio: replace ETIMEDOUT by EIO


ETIMEDOUT is not available on all platforms

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent 097c64ff
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment