From f3c68c5b453b7a79f9ce785ecb6a8ceaee676072 Mon Sep 17 00:00:00 2001 From: Sam Gerstein Date: Fri, 2 Apr 2010 20:14:55 +0000 Subject: ETIME -> ETIMEDOUT. Patch by Sam Gerstein . Originally committed as revision 22785 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat') diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 8841ea80c6..dabfc61db9 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -1692,7 +1692,7 @@ static int udp_read_packet(AVFormatContext *s, RTSPStream **prtsp_st, } #endif } else if (n == 0 && ++timeout_cnt >= MAX_TIMEOUTS) { - return AVERROR(ETIME); + return AVERROR(ETIMEDOUT); } else if (n < 0 && errno != EINTR) return AVERROR(errno); } -- cgit v1.2.3