mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for bug #5064, success parse 264 sps
This commit is contained in:
parent
d72b93e58b
commit
8df7135dee
2 changed files with 8 additions and 7 deletions
|
@ -75,7 +75,7 @@ int srs_avc_nalu_read_uev(SrsBitStream* stream, int32_t& v)
|
|||
v = (1 << leadingZeroBits) - 1;
|
||||
for (int i = 0; i < leadingZeroBits; i++) {
|
||||
int32_t b = stream->read_bit();
|
||||
v += b << (leadingZeroBits - 1);
|
||||
v += b << (leadingZeroBits - 1 - i);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue