1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

fix bug of ts_info

This commit is contained in:
winlin 2013-11-25 10:59:21 +08:00
parent d5b84b5e20
commit 164392f6aa
2 changed files with 4 additions and 3 deletions

View file

@ -1269,7 +1269,7 @@ int64_t TSPayloadPES::decode_33bits_int(int64_t& temp)
// marker_bit 1bit
temp = temp >> 1;
// PTS [14..0] 15bits
ret |= temp & 0x3fff;
ret |= temp & 0x7fff;
// marker_bit 1bit
temp = temp >> 1;
// PTS [29..15] 15bits, 15zero, 29-15+1one