mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine code to allow search for conflicts.
This commit is contained in:
parent
ead49e747b
commit
5d48c9ce1b
6 changed files with 27 additions and 27 deletions
|
|
@ -1849,7 +1849,7 @@ srs_error_t SrsMpegPES::decode_33bits_dts_pts(SrsBuffer* stream, int64_t* pv)
|
|||
}
|
||||
|
||||
// decode the 33bits schema.
|
||||
// ===========1B
|
||||
// --------------1B
|
||||
// 4bits const maybe '0001', '0010' or '0011'.
|
||||
// 3bits DTS/PTS [32..30]
|
||||
// 1bit const '1'
|
||||
|
|
@ -1864,7 +1864,7 @@ srs_error_t SrsMpegPES::decode_33bits_dts_pts(SrsBuffer* stream, int64_t* pv)
|
|||
}
|
||||
dts_pts_30_32 = (dts_pts_30_32 >> 1) & 0x07;
|
||||
|
||||
// ===========2B
|
||||
// --------------2B
|
||||
// 15bits DTS/PTS [29..15]
|
||||
// 1bit const '1'
|
||||
int64_t dts_pts_15_29 = stream->read_2bytes();
|
||||
|
|
@ -1873,7 +1873,7 @@ srs_error_t SrsMpegPES::decode_33bits_dts_pts(SrsBuffer* stream, int64_t* pv)
|
|||
}
|
||||
dts_pts_15_29 = (dts_pts_15_29 >> 1) & 0x7fff;
|
||||
|
||||
// ===========2B
|
||||
// --------------2B
|
||||
// 15bits DTS/PTS [14..0]
|
||||
// 1bit const '1'
|
||||
int64_t dts_pts_0_14 = stream->read_2bytes();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue