Remove old code

This commit is contained in:
Alexey Khit
2023-08-21 07:00:46 +03:00
parent 00b818b4d7
commit 2ebb791eb7
2 changed files with 0 additions and 14 deletions

View File

@@ -164,9 +164,3 @@ func PatchVideoScale(init []byte, scaleX, scaleY int) bool {
return true
}
const (
stateNone byte = iota
stateInit
stateStart
)

View File

@@ -383,11 +383,3 @@ func (p *PES) GetPacket() (pkt *rtp.Packet) {
return
}
// PTSToTimestamp - convert PTS from 90000 to custom clock rate
//func PTSToTimestamp(pts, clockRate uint32) uint32 {
// if clockRate == 90000 {
// return pts
// }
// return uint32(uint64(pts) * uint64(clockRate) / 90000)
//}