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 {