[FFmpeg-devel] [PATCH 12/13] Extend documentation for parse_filter().

Stefano Sabatini stefano.sabatini-lala
Sat Nov 6 02:25:13 CET 2010


---
 libavfilter/graphparser.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 42e93de..ba4b0de 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -144,7 +144,12 @@ static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int ind
 }
 
 /**
- * Parse "filter=params"
+ * Parse a string of the type FILTER_NAME[=PARAMS], and create a
+ * corresponding filter which is added to graph.
+ *
+ * @param index an index which is associated to the filter instance in
+ * the graph
+ * @return 0 in case of success or a negative AVERROR code otherwise
  */
 static int parse_filter(AVFilterContext **filt_ctx, const char **buf, AVFilterGraph *graph,
                         int index, AVClass *log_ctx)
-- 
1.7.1




More information about the ffmpeg-devel mailing list