projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
097c64f
)
avio: replace ETIMEDOUT by EIO
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 5 Sep 2012 22:30:58 +0000
(
00:30
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 8 Sep 2012 00:28:20 +0000
(
02:28
+0200)
ETIMEDOUT is not available on all platforms
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/avio.c
patch
|
blob
|
history
diff --git
a/libavformat/avio.c
b/libavformat/avio.c
index
6ed63f4
..
abc7072
100644
(file)
--- 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(E
TIMEDOUT
);
+ return AVERROR(E
IO
);
}
av_usleep(1000);
}