From 7eccf68916e4050e42ba7947eb95b193d13db5fc Mon Sep 17 00:00:00 2001 From: haorui wang <56127613+HR1025@users.noreply.github.com> Date: Tue, 20 Aug 2024 14:17:01 +0800 Subject: [PATCH] =?UTF-8?q?[what][bugfix][h264]=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=AC=94=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- H264Deserialize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/H264Deserialize.cpp b/H264Deserialize.cpp index 1e41d70..6bcc692 100644 --- a/H264Deserialize.cpp +++ b/H264Deserialize.cpp @@ -813,7 +813,7 @@ bool H264Deserialize::DeserializeSliceHeaderSyntax(H26xBinaryReader::ptr br, H26 br->UE(slice->pic_parameter_set_id); MPP_H26X_SYNTAXT_STRICT_CHECK(_contex->ppsSet.count(slice->pic_parameter_set_id), "[slice] missing pps", return false); pps = _contex->ppsSet[slice->pic_parameter_set_id]; - MPP_H26X_SYNTAXT_STRICT_CHECK(_contex->ppsSet.count(pps->seq_parameter_set_id), "[slice] missing sps", return false); + MPP_H26X_SYNTAXT_STRICT_CHECK(_contex->spsSet.count(pps->seq_parameter_set_id), "[slice] missing sps", return false); sps = _contex->spsSet[pps->seq_parameter_set_id]; if (sps->separate_colour_plane_flag == 1) {