OSDN Git Service

Amend avfilter_graph_parse() documentation for the return code, make
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 4 Nov 2010 20:26:45 +0000 (20:26 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 4 Nov 2010 20:26:45 +0000 (20:26 +0000)
it more generic.

Originally committed as revision 25672 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/graphparser.h

index 510b4b3..64fa019 100644 (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,