Exemplo n.º 1
0
//Setup a new reference to the data described by a given packet.
func (p *Packet) AvPacketRef(s *Packet) int {
	return int(C.av_packet_ref((*C.struct_AVPacket)(p), (*C.struct_AVPacket)(s)))
}
Exemplo n.º 2
0
//Setup a new reference to the data described by a given packet.
//int 	av_packet_ref (AVPacket *dst, const AVPacket *src)
func Av_packet_ref(p, s *AVPacket) int {
	return int(C.av_packet_ref((*C.struct_AVPacket)(p), (*C.struct_AVPacket)(s)))
}