Browse Source

Issue a warning if the received CSeq isn't the expected one

Originally committed as revision 22661 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Luca Barbato 15 years ago
parent
commit
7ed8211b3e
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      libavformat/rtsp.c

+ 5
- 0
libavformat/rtsp.c View File

@@ -974,6 +974,11 @@ int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply,
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 */ ||


Loading…
Cancel
Save