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
This commit is contained in:
Stefano Sabatini 2010-11-04 20:26:45 +00:00
parent 37e9cc4ec7
commit a6fdd5748f

View File

@ -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,