func NewGraph() (*Graph, error) { cGraph := C.avfilter_graph_alloc() if cGraph == nil { return nil, ErrAllocationError } return NewGraphFromC(unsafe.Pointer(cGraph)), nil }
//Allocate a filter graph. //AVFilterGraph * avfilter_graph_alloc (void) func Avfilter_graph_alloc() *AVFilterGraph { return (*AVFilterGraph)(C.avfilter_graph_alloc()) }
//Allocate a filter graph. func AvfilterGraphAlloc() *Graph { return (*Graph)(C.avfilter_graph_alloc()) }