From a6fdd5748fa015eaaf085695fc59240b6d0b9a7d Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 4 Nov 2010 20:26:45 +0000 Subject: [PATCH] Amend avfilter_graph_parse() documentation for the return code, make it more generic. Originally committed as revision 25672 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/graphparser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/graphparser.h b/libavfilter/graphparser.h index 510b4b3357..64fa0193af 100644 --- a/libavfilter/graphparser.h +++ b/libavfilter/graphparser.h @@ -43,7 +43,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,