From: Stefano Sabatini Date: Sat, 2 Jul 2011 13:36:23 +0000 (+0200) Subject: graphparser: clarify comments in avfilter_graph_parse() X-Git-Tag: rel20110916_inqubus2.b.0~6^2~127 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=6ce05bc73c782d9361a03ac83e41c44ed429f27b;p=coroid%2Fffmpeg_saccubus.git graphparser: clarify comments in avfilter_graph_parse() --- diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index edba73189..111e5aa0d 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -355,7 +355,7 @@ int avfilter_graph_parse(AVFilterGraph *graph, const char *filters, goto end; if (filter->input_count == 1 && !curr_inputs && !index) { - /* First input can be omitted if it is "[in]" */ + /* First input pad, assume it is "[in]" if not specified */ const char *tmp = "[in]"; if ((ret = parse_inputs(&tmp, &curr_inputs, &open_outputs, log_ctx)) < 0) goto end; @@ -390,7 +390,7 @@ int avfilter_graph_parse(AVFilterGraph *graph, const char *filters, } if (open_inputs && !strcmp(open_inputs->name, "out") && curr_inputs) { - /* Last output can be omitted if it is "[out]" */ + /* Last output pad, assume it is "[out]" if not specified */ const char *tmp = "[out]"; if ((ret = parse_outputs(&tmp, &curr_inputs, &open_inputs, &open_outputs, log_ctx)) < 0)