* A linked-list of the inputs/outputs of the filter chain.
*/
typedef struct AVFilterInOut {
- const char *name;
+ char *name;
AVFilterContext *filter;
int pad_idx;
} AVFilterInOut;
/**
- * Add to a graph a graph described by a string.
+ * Add a graph described by a string to a graph.
*
* @param graph the filter graph where to link the parsed graph context
* @param filters string to be parsed
* @param outputs linked list to the outputs of the graph
* @return zero on success, -1 on error
*/
-int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
+int avfilter_graph_parse(AVFilterGraph *graph, const char *filters,
AVFilterInOut *inputs, AVFilterInOut *outputs,
AVClass *log_ctx);