コード例 #1
0
ファイル: avformat.go プロジェクト: ovr/goav
//Read data and append it to the current content of the Packet.
func (ctxt *AvIOContext) AvAppendPacket(pkt *Packet, s int) int {
	return int(C.av_append_packet((*C.struct_AVIOContext)(ctxt), (*C.struct_AVPacket)(pkt), C.int(s)))
}
コード例 #2
0
ファイル: avformat.go プロジェクト: hyhy01/goav
//int av_append_packet (AVIOContext *s, AVPacket *pkt, int size)
//Read data and append it to the current content of the AVPacket.
func Av_append_packet(ctxt *AVIOContext, pkt *AVPacket, s int) int {
	return int(C.av_append_packet((*C.struct_AVIOContext)(ctxt), (*C.struct_AVPacket)(pkt), C.int(s)))
}