mirror of https://bitbucket.org/ausocean/av.git
container/mts: fixed infinite loop
This commit is contained in:
parent
0d240fa7ff
commit
7bd885bcfb
|
@ -335,7 +335,7 @@ func GetPTSRange(clip []byte, pid uint16) (pts [2]uint64, err error) {
|
|||
if _pkt.PayloadUnitStartIndicator() {
|
||||
break
|
||||
}
|
||||
i = _i + PacketSize
|
||||
i += _i + PacketSize
|
||||
}
|
||||
|
||||
// Get the payload of the packet, which will be the start of the PES packet.
|
||||
|
|
Loading…
Reference in New Issue