From c25da5a22294d9f4bad2b60da34551de57494cad Mon Sep 17 00:00:00 2001 From: ziyue <1213642868@qq.com> Date: Thu, 15 Jul 2021 17:36:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DH265=20vlc=E5=B8=A7=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E9=80=BB=E8=BE=91bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Extension/H265.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extension/H265.h b/src/Extension/H265.h index ee06a066..1952ea74 100644 --- a/src/Extension/H265.h +++ b/src/Extension/H265.h @@ -97,7 +97,7 @@ public: auto nal_ptr = (uint8_t *) this->data() + this->prefixSize(); auto type = H265_TYPE(*nal_ptr); //多slice情况下, first_slice_segment_in_pic_flag 表示其为一帧的开始 - return type >= NAL_TRAIL_R && type <= NAL_RSV_IRAP_VCL23 && (nal_ptr[2] & 0x80); + return type >= NAL_TRAIL_N && type <= NAL_RSV_IRAP_VCL23 && (nal_ptr[2] & 0x80); } };