示例#1
0
文件: context.go 项目: ovr/goav
func (s *Context) AvNewProgram(id int) *AvProgram {
	return (*AvProgram)(C.av_new_program((*C.struct_AVFormatContext)(s), C.int(id)))
}
示例#2
0
文件: avformat.go 项目: hyhy01/goav
//AVProgram * av_new_program (AVFormatContext *s, int id)
func Av_new_program(s *AVFormatContext, id int) *AVProgram {
	return (*AVProgram)(C.av_new_program((*C.struct_AVFormatContext)(s), C.int(id)))
}