示例#1
0
文件: packet.go 项目: gale320/goav
//Increase packet size, correctly zeroing padding.
func (p *Packet) AvGrowPacket(s int) int {
	return int(C.av_grow_packet((*C.struct_AVPacket)(p), C.int(s)))
}
示例#2
0
//Increase packet size, correctly zeroing padding.
//int 	av_grow_packet (AVPacket *pkt, int grow_by)
func Av_grow_packet(p *AVPacket, s int) int {
	return int(C.av_grow_packet((*C.struct_AVPacket)(p), C.int(s)))
}