]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/graphparser.h
Add some required casts
[ffmpeg] / libavfilter / graphparser.h
index eddc6b0b1b97c009c5f7eb1513a7c85f956f2aa3..e69f295740fbf3f4bf4a4a045770835ce669394c 100644 (file)
@@ -29,7 +29,7 @@
  * A linked-list of the inputs/outputs of the filter chain.
  */
 typedef struct AVFilterInOut {
-    const char *name;
+    char *name;
     AVFilterContext *filter;
     int pad_idx;
 
@@ -37,14 +37,15 @@ typedef struct AVFilterInOut {
 } AVFilterInOut;
 
 /**
- * Add to a graph a graph described by a string.
+ * Adds 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 inouts  linked list to the inputs and outputs of the graph
- * @param outpad  pad index of the output
+ * @param inputs  linked list to the inputs of the graph
+ * @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);