1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-07-16 22:42:38 +02:00

avfiltergraph: clarify doxy for avfilter_graph_parse() open_inputs/outputs params

Make it clear that open_inputs/open_outputs are updated only if non-NULL.
This commit is contained in:
Stefano Sabatini
2011-07-02 16:09:55 +02:00
parent 6ce05bc73c
commit ebd1edf36c

View File

@ -124,12 +124,12 @@ void avfilter_inout_free(AVFilterInOut **inout);
* *
* @param graph the filter graph where to link the parsed graph context * @param graph the filter graph where to link the parsed graph context
* @param filters string to be parsed * @param filters string to be parsed
* @param inputs linked list to the inputs of the graph, may be NULL. * @param inputs pointer to a linked list to the inputs of the graph, may be NULL.
* It is updated to contain the list of open inputs after the parsing, * If non-NULL, *inputs is updated to contain the list of open inputs
* should be freed with avfilter_inout_free(). * after the parsing, should be freed with avfilter_inout_free().
* @param outputs linked list to the outputs of the graph, may be NULL. * @param outputs pointer to a linked list to the outputs of the graph, may be NULL.
* It is updated to contain the list of open outputs after the parsing, * If non-NULL, *outputs is updated to contain the list of open outputs
* should be freed with avfilter_inout_free(). * after the parsing, should be freed with avfilter_inout_free().
* @return zero on success, a negative AVERROR code on error * @return zero on success, a negative AVERROR code on error
*/ */
int avfilter_graph_parse(AVFilterGraph *graph, const char *filters, int avfilter_graph_parse(AVFilterGraph *graph, const char *filters,