Example #1
0
File: avformat.go Project: 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)))
}
Example #2
0
//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)))
}