Esempio n. 1
0
func (this *Packet) Clone() *Packet {
	np := NewPacket()

	C.av_copy_packet(&np.avPacket, &this.avPacket)

	return np
}
Esempio n. 2
0
//Copy packet, including contents.
func (p *Packet) AvCopyPacket(r *Packet) int {
	return int(C.av_copy_packet((*C.struct_AVPacket)(p), (*C.struct_AVPacket)(r)))

}
Esempio n. 3
0
//Copy packet, including contents.
//int 	av_copy_packet (AVPacket *dst, const AVPacket *src)
func Av_copy_packet(p, r *AVPacket) int {
	return int(C.av_copy_packet((*C.struct_AVPacket)(p), (*C.struct_AVPacket)(r)))

}