diff options
author | Sam Gerstein <sgerstein@bluefinlab.com> | 2010-04-02 20:14:55 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-04-02 20:14:55 +0000 |
commit | f3c68c5b453b7a79f9ce785ecb6a8ceaee676072 (patch) | |
tree | 2e24c6b7103da8517ef4fafcb36199b92648c079 | |
parent | 523429220b8798dc3ae94c49201300bdeccb2dc9 (diff) | |
download | ffmpeg-f3c68c5b453b7a79f9ce785ecb6a8ceaee676072.tar.gz |
ETIME -> ETIMEDOUT. Patch by Sam Gerstein <sgerstein bluefinlab com>.
Originally committed as revision 22785 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |