From 1e4963b8fcf38f6cc8c1911eab50881fb76d30d1 Mon Sep 17 00:00:00 2001 From: wxf Date: Fri, 2 Jul 2021 15:56:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20Nack=20=E5=9B=9E=E7=8E=AF?= =?UTF-8?q?=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webrtc/Nack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/Nack.cpp b/webrtc/Nack.cpp index 8d4da792..2579cf01 100644 --- a/webrtc/Nack.cpp +++ b/webrtc/Nack.cpp @@ -79,7 +79,7 @@ void NackContext::received(uint16_t seq) { return; } - if (diff > UINT32_MAX / 2) { + if (diff > UINT16_MAX / 2) { //回环 _seq.clear(); _last_max_seq = min_seq;