Comcast / gots

MPEG Transport Stream handling in Go
Other
308 stars 88 forks source link

Correct parsing segmentation duration with 40 bits. #178

Open potterxu opened 5 months ago

potterxu commented 5 months ago

This pull request is fixing bug raised in [#100] by changing the uint40() function to get the value of the full 5-bytes slice.

The other usage of uint40() function already use 33 bits mask to truncate the value. scte35.go:113 splicecommand.go:221 splicecommand.go:325

CLAassistant commented 5 months ago

CLA assistant check
All committers have signed the CLA.