Skip to content

Commit

Permalink
[what][bugfix][h264] 修复 more_rbsp_data 某些情况下判断异常
Browse files Browse the repository at this point in the history
  • Loading branch information
HR1025 committed Aug 26, 2024
1 parent 1be4ca0 commit 91e1c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion H26xBinaryReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 91e1c66

Please sign in to comment.