From 64cf7efa1339fbe5a4350744161a7f5a05f0cf79 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Fri, 30 Aug 2019 10:34:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E6=95=88=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Rtmp/RtmpProtocol.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Rtmp/RtmpProtocol.cpp b/src/Rtmp/RtmpProtocol.cpp index 6fef2632..ad21351f 100644 --- a/src/Rtmp/RtmpProtocol.cpp +++ b/src/Rtmp/RtmpProtocol.cpp @@ -532,10 +532,6 @@ void RtmpProtocol::handle_rtmp() { static const size_t HEADER_LENGTH[] = { 12, 8, 4, 1 }; size_t iHeaderLen = HEADER_LENGTH[flags >> 6]; _iNowChunkID = flags & 0x3f; - if(_iNowChunkID >10){ - int i=0; - i++; - } switch (_iNowChunkID) { case 0: { //0 值表示二字节形式,并且 ID 范围 64 - 319