mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
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
This commit is contained in:
parent
5b31015a7f
commit
c185fc5d72
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user