[FFmpeg-cvslog] r22785 - trunk/libavformat/rtsp.c

rbultje subversion
Fri Apr 2 22:14:56 CEST 2010


Author: rbultje
Date: Fri Apr  2 22:14:55 2010
New Revision: 22785

Log:
ETIME -> ETIMEDOUT. Patch by Sam Gerstein <sgerstein bluefinlab com>.

Modified:
   trunk/libavformat/rtsp.c

Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c	Fri Apr  2 18:26:10 2010	(r22784)
+++ trunk/libavformat/rtsp.c	Fri Apr  2 22:14:55 2010	(r22785)
@@ -1692,7 +1692,7 @@ static int udp_read_packet(AVFormatConte
             }
 #endif
         } else if (n == 0 && ++timeout_cnt >= MAX_TIMEOUTS) {
-            return AVERROR(ETIME);
+            return AVERROR(ETIMEDOUT);
         } else if (n < 0 && errno != EINTR)
             return AVERROR(errno);
     }



More information about the ffmpeg-cvslog mailing list