mirror of https://bitbucket.org/ausocean/av.git
container/mts/mpegts.go: corrected comment
This commit is contained in:
parent
5179cdaceb
commit
b12a78dad2
|
@ -341,7 +341,7 @@ func GetPTSRange(clip []byte) (pts [2]uint64, err error) {
|
|||
}
|
||||
pts[0] = _pes.PTS()
|
||||
|
||||
// Get the final PTS and calculate PTS immediately after.
|
||||
// Get the final PTS searching from end of clip for access unit start.
|
||||
for i := len(clip) - PacketSize; i >= 0; i -= PacketSize {
|
||||
copy(_pkt[:], clip[i:i+PacketSize])
|
||||
if packet.PayloadUnitStartIndicator(&_pkt) {
|
||||
|
|
Loading…
Reference in New Issue