mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix the unicode to ascii
This commit is contained in:
parent
7fc1cda392
commit
77ee2400df
10 changed files with 39 additions and 39 deletions
|
@ -61,7 +61,7 @@ int srs_avc_nalu_read_uev(SrsBitStream* stream, int32_t& v)
|
|||
// for( b = 0; !b; leadingZeroBits++ )
|
||||
// b = read_bits( 1 )
|
||||
// The variable codeNum is then assigned as follows:
|
||||
// codeNum = (2<<leadingZeroBits) – 1 + read_bits( leadingZeroBits )
|
||||
// codeNum = (2<<leadingZeroBits) - 1 + read_bits( leadingZeroBits )
|
||||
int leadingZeroBits = -1;
|
||||
for (int8_t b = 0; !b && !stream->empty(); leadingZeroBits++) {
|
||||
b = stream->read_bit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue