[FFmpeg-cvslog] r9982 - trunk/libavformat/tcp.c
ramiro
subversion
Wed Aug 8 14:08:16 CEST 2007
Author: ramiro
Date: Wed Aug 8 14:08:16 2007
New Revision: 9982
Log:
MinGW returns EAGAIN instead of EINPROGRESS
Modified:
trunk/libavformat/tcp.c
Modified: trunk/libavformat/tcp.c
==============================================================================
--- trunk/libavformat/tcp.c (original)
+++ trunk/libavformat/tcp.c Wed Aug 8 14:08:16 2007
@@ -69,7 +69,8 @@ static int tcp_open(URLContext *h, const
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 */
More information about the ffmpeg-cvslog
mailing list