Commit b10f81b2 authored by vitor's avatar vitor

Cosmetics

Commited in SoC by Vitor Sessak on 2008-05-24 17:00:23


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13355 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ec05b961
...@@ -231,7 +231,6 @@ static int link_filter_inouts(AVFilterContext *filter, ...@@ -231,7 +231,6 @@ static int link_filter_inouts(AVFilterContext *filter,
} }
} }
if(*currInputs) { if(*currInputs) {
av_log(log_ctx, AV_LOG_ERROR, av_log(log_ctx, AV_LOG_ERROR,
"Too many inputs specified for the \"%s\" filter.\n", "Too many inputs specified for the \"%s\" filter.\n",
...@@ -357,7 +356,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, ...@@ -357,7 +356,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
goto fail; goto fail;
if(filter->input_count == 1 && !currInputs && !index) { 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]"; const char *tmp = "[in]";
if(parse_inputs(&tmp, &currInputs, &openLinks, log_ctx)) if(parse_inputs(&tmp, &currInputs, &openLinks, log_ctx))
goto fail; goto fail;
...@@ -382,7 +381,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters, ...@@ -382,7 +381,7 @@ int avfilter_parse_graph(AVFilterGraph *graph, const char *filters,
} while(chr == ',' || chr == ';'); } while(chr == ',' || chr == ';');
if(openLinks && !strcmp(openLinks->name, "out") && currInputs) { 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]"; const char *tmp = "[out]";
if(parse_outputs(&tmp, &currInputs, &openLinks, log_ctx) < 0) if(parse_outputs(&tmp, &currInputs, &openLinks, log_ctx) < 0)
goto fail; goto fail;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment