[FFmpeg-cvslog] r22661 - trunk/libavformat/rtsp.c
lu_zero
subversion
Wed Mar 24 23:38:48 CET 2010
Author: lu_zero
Date: Wed Mar 24 23:38:48 2010
New Revision: 22661
Log:
Issue a warning if the received CSeq isn't the expected one
Modified:
trunk/libavformat/rtsp.c
Modified: trunk/libavformat/rtsp.c
==============================================================================
--- trunk/libavformat/rtsp.c Wed Mar 24 23:32:05 2010 (r22660)
+++ trunk/libavformat/rtsp.c Wed Mar 24 23:38:48 2010 (r22661)
@@ -974,6 +974,11 @@ int ff_rtsp_read_reply(AVFormatContext *
else
av_free(content);
+ if (rt->seq != reply->seq) {
+ av_log(s, AV_LOG_WARNING, "CSeq %d expected, %d received.\n",
+ rt->seq, reply->seq);
+ }
+
/* EOS */
if (reply->notice == 2101 /* End-of-Stream Reached */ ||
reply->notice == 2104 /* Start-of-Stream Reached */ ||
More information about the ffmpeg-cvslog
mailing list