# HG changeset patch # User rbultje # Date 1270239295 0 # Node ID 17226679fd6cad2a5091c3a51e9e0f4e4d5bb2df # Parent e4080988d1b2efa230ba7f1f0e900229fbe6a1ab ETIME -> ETIMEDOUT. Patch by Sam Gerstein . diff -r e4080988d1b2 -r 17226679fd6c rtsp.c --- 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); }