diff --git a/container/mts/mpegts.go b/container/mts/mpegts.go index eb4bee5d..3f3851a3 100644 --- a/container/mts/mpegts.go +++ b/container/mts/mpegts.go @@ -331,7 +331,6 @@ func GetPTSRange(clip []byte, pid uint16) (pts [2]uint64, err error) { copy(_pkt[:], pkt) payload, err := packet.Payload(&_pkt) if err != nil { - fmt.Printf("_pkt: %v\n", _pkt) return [2]uint64{}, err } @@ -358,6 +357,5 @@ func GetPTSRange(clip []byte, pid uint16) (pts [2]uint64, err error) { return } } - - return [2]uint64{}, errors.New("could only find one access unit in mpegts clip") + return }