示例#1
0
文件: avformat.go 项目: ovr/goav
//Allocate and read the payload of a packet and initialize its fields with default values.
func (ctxt *AvIOContext) AvGetPacket(pkt *Packet, s int) int {
	return int(C.av_get_packet((*C.struct_AVIOContext)(ctxt), (*C.struct_AVPacket)(pkt), C.int(s)))
}
示例#2
0
文件: avformat.go 项目: hyhy01/goav
//int av_get_packet (AVIOContext *s, AVPacket *pkt, int size)
//Allocate and read the payload of a packet and initialize its fields with default values.
func Av_get_packet(ctxt *AVIOContext, pkt *AVPacket, s int) int {
	return int(C.av_get_packet((*C.struct_AVIOContext)(ctxt), (*C.struct_AVPacket)(pkt), C.int(s)))
}