mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
Issue a warning if the received CSeq isn't the expected one
Originally committed as revision 22661 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9405f733d9
commit
7ed8211b3e
@ -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 */ ||
|
||||||
|
Loading…
Reference in New Issue
Block a user