diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-07-02 15:36:23 +0200 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2011-07-07 00:36:58 +0200 |
commit | 6ce05bc73c782d9361a03ac83e41c44ed429f27b (patch) | |
tree | ec15fc3a01d03bf8c3b872b2456f1bfc4d0db21b | |
parent | df8c675f487bc2cda2b22541cd8e5a6d8090374d (diff) | |
download | ffmpeg-6ce05bc73c782d9361a03ac83e41c44ed429f27b.tar.gz |
graphparser: clarify comments in avfilter_graph_parse()
-rw-r--r-- | libavfilter/graphparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index edba731897..111e5aa0db 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) |