container/mts: fixed infinite loop

This commit is contained in:
Saxon 2019-07-01 14:01:49 +09:30
parent 0d240fa7ff
commit 7bd885bcfb
1 changed files with 1 additions and 1 deletions

View File

@ -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.