From 91e1c66ecb45f7cfa622c52cc53ee31a6353e3dd Mon Sep 17 00:00:00 2001 From: haorui wang <56127613+HR1025@users.noreply.github.com> Date: Mon, 26 Aug 2024 17:43:59 +0800 Subject: [PATCH] =?UTF-8?q?[what][bugfix][h264]=20=E4=BF=AE=E5=A4=8D=20mor?= =?UTF-8?q?e=5Frbsp=5Fdata=20=E6=9F=90=E4=BA=9B=E6=83=85=E5=86=B5=E4=B8=8B?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- H26xBinaryReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/H26xBinaryReader.cpp b/H26xBinaryReader.cpp index 5961ab7..0b7e6be 100644 --- a/H26xBinaryReader.cpp +++ b/H26xBinaryReader.cpp @@ -305,7 +305,7 @@ bool H26xBinaryReader::more_rbsp_data() } else if (_reader->Tell() == _rbspEndByte) // reach end of rbsp { - return false; + return _curBitPos == 8 ? false : true; } else // update _rbspEndByte and try once again {