diff rtpproto.c @ 5896:395592984ef0 libavformat

Don't report EINTR from select as an error, retry select instead
author mstorsjo
date Fri, 26 Mar 2010 16:04:38 +0000
parents d605f589f0be
children 2d2273c246ce
line wrap: on
line diff
--- a/rtpproto.c	Fri Mar 26 01:12:14 2010 +0000
+++ b/rtpproto.c	Fri Mar 26 16:04:38 2010 +0000
@@ -251,6 +251,8 @@
                 break;
             }
         } else if (n < 0) {
+            if (ff_neterrno() == FF_NETERROR(EINTR))
+                continue;
             return AVERROR(EIO);
         }
     }