[FFmpeg-devel] [PATCH 3/5] Amend avfilter_graph_parse() documentation, make it more generic.

Stefano Sabatini stefano.sabatini-lala
Tue Nov 2 21:02:29 CET 2010


---
 libavfilter/avfiltergraph.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavfilter/avfiltergraph.h b/libavfilter/avfiltergraph.h
index 428c531..b412bbc 100644
--- a/libavfilter/avfiltergraph.h
+++ b/libavfilter/avfiltergraph.h
@@ -105,7 +105,7 @@ typedef struct AVFilterInOut {
  * @param filters string to be parsed
  * @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
+ * @return        zero on success, a negative AVERROR code on error
  */
 int avfilter_graph_parse(AVFilterGraph *graph, const char *filters,
                          AVFilterInOut *inputs, AVFilterInOut *outputs,
-- 
1.7.1




More information about the ffmpeg-devel mailing list