From b6ce03b64f333cdf3143f1a33a59be3e6ce5c84c Mon Sep 17 00:00:00 2001 From: lawrencehj <1934378145@qq.com> Date: Mon, 19 Jul 2021 10:31:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3Windows=E4=B8=8B=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E5=87=BA=E9=94=99=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Rtsp/RtpReceiver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Rtsp/RtpReceiver.h b/src/Rtsp/RtpReceiver.h index e647a4c2..64794376 100644 --- a/src/Rtsp/RtpReceiver.h +++ b/src/Rtsp/RtpReceiver.h @@ -67,7 +67,7 @@ public: //过滤seq回退包(回环包除外) return; } - } else if (_next_seq_out && seq - _next_seq_out > (std::numeric_limits::max() >> 1)) { + } else if (_next_seq_out && seq - _next_seq_out > ((std::numeric_limits::max)() >> 1)) { //过滤seq跳变非常大的包(防止回环时乱序时收到非常大的seq) return; }