Example #1
0
File: context.go Project: ovr/goav
func (s *Context) AvNewProgram(id int) *AvProgram {
	return (*AvProgram)(C.av_new_program((*C.struct_AVFormatContext)(s), C.int(id)))
}
Example #2
0
//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)))
}