Mercurial > libavformat.hg
diff rtsp.c @ 5880:acbe14fa0c74 libavformat
Issue a warning if the received CSeq isn't the expected one
author | lu_zero |
---|---|
date | Wed, 24 Mar 2010 22:38:48 +0000 |
parents | ba648dfcbe04 |
children | 005108a85bc3 |
line wrap: on
line diff
--- a/rtsp.c Wed Mar 24 22:32:05 2010 +0000 +++ b/rtsp.c Wed Mar 24 22:38:48 2010 +0000 @@ -974,6 +974,11 @@ 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 */ ||