func av_new_stream(ctx *FormatContext, stream_id int) *Stream {
	return &Stream{C.av_new_stream(ctx.ctx, C.int(stream_id))}
}
示例#2
0
func av_new_stream(ctx *FormatContext, stream_id int) *C.AVStream {
	//return &Stream{C.av_new_stream(ctx.ctx, C.int(stream_id))}
	return C.av_new_stream(ctx.ctx, C.int(stream_id))
}