summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-05-24 20:42:21 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-05-24 20:42:21 +0000
commitc185fc5d7249e5a50b73adca7fdca8f38e542e55 (patch)
tree12e9bc7f4899477f8709f59a63206f459167cf35 /libavfilter
parent5b31015a7fd4aebc591d4326fbba079cc348c2e0 (diff)
Cosmetics
Commited in SoC by Vitor Sessak on 2008-05-24 17:00:23 Originally committed as revision 13355 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/graphparser.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index c7c6a67e47..bdcf3673bb 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -231,7 +231,6 @@ static int link_filter_inouts(AVFilterContext *filter,
}
}
-
if(*currInputs) {
av_log(log_ctx, AV_LOG_ERROR,
"Too many inputs specified for the \"%s\" filter.\n",
@@ -357,7 +356,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
goto fail;
if(filter->input_count == 1 && !currInputs && !index) {
- // First input can be ommitted if it is "[in]"
+ /* First input can be ommitted if it is "[in]" */
const char *tmp = "[in]";
if(parse_inputs(&tmp, &currInputs, &openLinks, log_ctx))
goto fail;
@@ -382,7 +381,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
} while(chr == ',' || chr == ';');
if(openLinks && !strcmp(openLinks->name, "out") && currInputs) {
- // Last output can be ommitted if it is "[out]"
+ /* Last output can be ommitted if it is "[out]" */
const char *tmp = "[out]";
if(parse_outputs(&tmp, &currInputs, &openLinks, log_ctx) < 0)
goto fail;