changeset 5927:17226679fd6c libavformat

ETIME -> ETIMEDOUT. Patch by Sam Gerstein <sgerstein bluefinlab com>.
author rbultje
date Fri, 02 Apr 2010 20:14:55 +0000
parents e4080988d1b2
children 9f1b267a30f5
files rtsp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rtsp.c	Fri Apr 02 14:58:55 2010 +0000
+++ b/rtsp.c	Fri Apr 02 20:14:55 2010 +0000
@@ -1692,7 +1692,7 @@
             }
 #endif
         } else if (n == 0 && ++timeout_cnt >= MAX_TIMEOUTS) {
-            return AVERROR(ETIME);
+            return AVERROR(ETIMEDOUT);
         } else if (n < 0 && errno != EINTR)
             return AVERROR(errno);
     }