av/rtmp/timeval_amd64.go

8 lines
126 B
Go
Raw Normal View History

package rtmp
import "golang.org/x/sys/unix"
func setTimeval(sec int) unix.Timeval {
return unix.Timeval{Sec: int64(sec)}
}