projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af7d793
)
MinGW returns EAGAIN instead of EINPROGRESS
author
Ramiro Polla
<ramiro.polla@gmail.com>
Wed, 8 Aug 2007 12:08:16 +0000
(12:08 +0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Wed, 8 Aug 2007 12:08:16 +0000
(12:08 +0000)
Originally committed as revision 9982 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/tcp.c
patch
|
blob
|
history
diff --git
a/libavformat/tcp.c
b/libavformat/tcp.c
index
3c9ff0f
..
2d417ec
100644
(file)
--- a/
libavformat/tcp.c
+++ b/
libavformat/tcp.c
@@
-69,7
+69,8
@@
static int tcp_open(URLContext *h, const char *uri, int flags)
if (ret < 0) {
if (ff_neterrno() == FF_NETERROR(EINTR))
goto redo;
- if (ff_neterrno() != FF_NETERROR(EINPROGRESS))
+ if (ff_neterrno() != FF_NETERROR(EINPROGRESS) &&
+ ff_neterrno() != FF_NETERROR(EAGAIN))
goto fail;
/* wait until we are connected or until abort */