From 44c82752b3d3ff6e6049273f4ac8971381326d43 Mon Sep 17 00:00:00 2001 From: ljx0305 Date: Thu, 7 Dec 2023 22:05:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=9B=9E=E7=8E=AF=E6=97=B6?= =?UTF-8?q?=E8=AE=A1=E7=AE=97=E5=89=8D=E5=90=8E=E5=8C=85=E8=B7=9D=E9=94=99?= =?UTF-8?q?=E8=AF=AF=20(#3089)?= 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 fad10684..d8dbc48d 100644 --- a/src/Rtsp/RtpReceiver.h +++ b/src/Rtsp/RtpReceiver.h @@ -102,7 +102,7 @@ private: ret = next_seq - seq; } if (ret > SEQ_MAX >> 1) { - return SEQ_MAX - ret; + return SEQ_MAX - ret + 1; } return ret; }