Commit accd65a8 authored by lu_zero's avatar lu_zero

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22661 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 057d4bcd
...@@ -974,6 +974,11 @@ int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply, ...@@ -974,6 +974,11 @@ int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply,
else else
av_free(content); 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 */ /* EOS */
if (reply->notice == 2101 /* End-of-Stream Reached */ || if (reply->notice == 2101 /* End-of-Stream Reached */ ||
reply->notice == 2104 /* Start-of-Stream Reached */ || reply->notice == 2104 /* Start-of-Stream Reached */ ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment